X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fndp.c;h=9fc539b4fea1bb089a82317d2defd582fec08748;hp=c1ac063ccbeda7e293c1804424a54917973d9f49;hb=d2b74369ddd2eaeef7d36baed53f709c98c490b0;hpb=52bca1137bbd954e8a905a22f637c6565e14ac35 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));