aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-04-11 23:37:03 -0700
committerEric W. Biederman <ebiederm@xmission.com>2011-04-12 14:41:24 -0700
commitd4c8170ad3d62cdb1bf7df845d6baaa2659a0586 (patch)
tree9613b8e8a3cd0e5424f1d0d622d159fd741740fe
parent52bf1d13548a86cc00012d30eb6af1179b363123 (diff)
downloadsyslinux-devel-d4c8170ad3d62cdb1bf7df845d6baaa2659a0586.tar.gz
syslinux-devel-d4c8170ad3d62cdb1bf7df845d6baaa2659a0586.tar.xz
syslinux-devel-d4c8170ad3d62cdb1bf7df845d6baaa2659a0586.zip
lwip: Allow up to 20 byte hardware address to support infiniband.
Infiniband has a positively crazy mapping of ip to it's infiniband form, and that crazy mapping leads to a 20 byte hardware address used for ip (despite really only having a 8 byte hardware address). Infiniband routers such a crazy idea. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-rw-r--r--core/lwip/src/include/lwip/netif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lwip/src/include/lwip/netif.h b/core/lwip/src/include/lwip/netif.h
index c50a6da8..9239723a 100644
--- a/core/lwip/src/include/lwip/netif.h
+++ b/core/lwip/src/include/lwip/netif.h
@@ -58,7 +58,7 @@ extern "C" {
/** must be the maximum of all used hardware address lengths
across all types of interfaces in use */
-#define NETIF_MAX_HWADDR_LEN 6U
+#define NETIF_MAX_HWADDR_LEN 20U
/** TODO: define the use (where, when, whom) of netif flags */