diff options
author | Michael Brown | 2015-09-01 17:18:32 +0200 |
---|---|---|
committer | Michael Brown | 2015-09-01 22:04:45 +0200 |
commit | 84306426424aabb69cbbb24e7e9da2288b23e693 (patch) | |
tree | 72fb883af083362e990615e3bb7a4df7855e5c0e /src/net/ipv4.c | |
parent | [build] Search for ldlinux.c32 separately from isolinux.bin (diff) | |
download | ipxe-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/ipv4.c')
-rw-r--r-- | src/net/ipv4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ipv4.c b/src/net/ipv4.c index a5478404..7959cf35 100644 --- a/src/net/ipv4.c +++ b/src/net/ipv4.c @@ -714,6 +714,7 @@ struct tcpip_net_protocol ipv4_tcpip_protocol __tcpip_net_protocol = { .name = "IPv4", .sa_family = AF_INET, .header_len = sizeof ( struct iphdr ), + .net_protocol = &ipv4_protocol, .tx = ipv4_tx, .netdev = ipv4_netdev, }; |