Przeglądaj źródła

[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 lat temu
rodzic
commit
c9ed9cb4e7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/include/ipxe/netdevice.h

+ 1
- 1
src/include/ipxe/netdevice.h Wyświetl plik

@@ -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
  *

Ładowanie…
Anuluj
Zapisz