diff options
author | Steven Barth <steven@midlink.org> | 2014-07-17 19:48:14 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-07-17 19:48:14 +0200 |
commit | d2b74369ddd2eaeef7d36baed53f709c98c490b0 (patch) | |
tree | 9860d6da4715b440c25c7b4a2c67aa9e198a65ab /src/ndp.c | |
parent | 52bca1137bbd954e8a905a22f637c6565e14ac35 (diff) |
Fix compilation
Diffstat (limited to 'src/ndp.c')
-rw-r--r-- | src/ndp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -169,6 +169,10 @@ int setup_ndp_interface(struct interface *iface, bool enable) .sll_family = AF_PACKET, .sll_ifindex = iface->ifindex, .sll_protocol = htons(ETH_P_IPV6), + .sll_hatype = 0, + .sll_pkttype = 0, + .sll_halen = 0, + .sll_addr = {0}, }; bind(sock, (struct sockaddr*)&ll, sizeof(ll)); |