summaryrefslogtreecommitdiffstats
path: root/src/net/ipv6.c
diff options
context:
space:
mode:
authorMichael Brown2015-09-01 17:18:32 +0200
committerMichael Brown2015-09-01 22:04:45 +0200
commit84306426424aabb69cbbb24e7e9da2288b23e693 (patch)
tree72fb883af083362e990615e3bb7a4df7855e5c0e /src/net/ipv6.c
parent[build] Search for ldlinux.c32 separately from isolinux.bin (diff)
downloadipxe-84306426424aabb69cbbb24e7e9da2288b23e693.tar.gz
ipxe-84306426424aabb69cbbb24e7e9da2288b23e693.tar.xz
ipxe-84306426424aabb69cbbb24e7e9da2288b23e693.zip
[tcpip] Allow supported address families to be detected at runtime
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/ipv6.c')
-rw-r--r--src/net/ipv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index a75e72dd..012ba592 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -1001,6 +1001,7 @@ struct tcpip_net_protocol ipv6_tcpip_protocol __tcpip_net_protocol = {
.name = "IPv6",
.sa_family = AF_INET6,
.header_len = sizeof ( struct ipv6_header ),
+ .net_protocol = &ipv6_protocol,
.tx = ipv6_tx,
.netdev = ipv6_netdev,
};