summaryrefslogtreecommitdiffhomepage
path: root/src/ndp.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-07-17 19:48:14 +0200
committerSteven Barth <steven@midlink.org>2014-07-17 19:48:14 +0200
commitd2b74369ddd2eaeef7d36baed53f709c98c490b0 (patch)
tree9860d6da4715b440c25c7b4a2c67aa9e198a65ab /src/ndp.c
parent52bca1137bbd954e8a905a22f637c6565e14ac35 (diff)
Fix compilation
Diffstat (limited to 'src/ndp.c')
-rw-r--r--src/ndp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ndp.c b/src/ndp.c
index c1ac063..9fc539b 100644
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -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));