浏览代码

[netdevice] Increase maximum network-layer address length

IPv6 uses 16-byte network-layer addresses.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 年前
父节点
当前提交
c9ed9cb4e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/include/ipxe/netdevice.h

+ 1
- 1
src/include/ipxe/netdevice.h 查看文件

@@ -44,7 +44,7 @@ struct device;
44 44
 #define MAX_LL_HEADER_LEN 36
45 45
 
46 46
 /** Maximum length of a network-layer address */
47
-#define MAX_NET_ADDR_LEN 4
47
+#define MAX_NET_ADDR_LEN 16
48 48
 
49 49
 /** Maximum length of a network-layer header
50 50
  *

正在加载...
取消
保存