From d2b74369ddd2eaeef7d36baed53f709c98c490b0 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 17 Jul 2014 19:48:14 +0200 Subject: [PATCH] Fix compilation --- src/ndp.c | 4 ++++ 1 file changed, 4 insertions(+) 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)); -- 2.25.1