Skip to content

Commit

Permalink
[netdevice] Increase maximum network-layer address length
Browse files Browse the repository at this point in the history
IPv6 uses 16-byte network-layer addresses.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Sep 3, 2013
1 parent 22a0c44 commit c9ed9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/ipxe/netdevice.h
Expand Up @@ -44,7 +44,7 @@ struct device;
#define MAX_LL_HEADER_LEN 36

/** Maximum length of a network-layer address */
#define MAX_NET_ADDR_LEN 4
#define MAX_NET_ADDR_LEN 16

/** Maximum length of a network-layer header
*
Expand Down

0 comments on commit c9ed9cb

Please sign in to comment.