projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52bca11
)
Fix compilation
author
Steven Barth
<steven@midlink.org>
Thu, 17 Jul 2014 17:48:14 +0000
(19:48 +0200)
committer
Steven Barth
<steven@midlink.org>
Thu, 17 Jul 2014 17:48:14 +0000
(19:48 +0200)
src/ndp.c
patch
|
blob
|
history
diff --git
a/src/ndp.c
b/src/ndp.c
index c1ac063ccbeda7e293c1804424a54917973d9f49..9fc539b4fea1bb089a82317d2defd582fec08748 100644
(file)
--- 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));