Explorar el Código

[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 hace 11 años
padre
commit
c9ed9cb4e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/include/ipxe/netdevice.h

+ 1
- 1
src/include/ipxe/netdevice.h Ver fichero

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

Loading…
Cancelar
Guardar