diff options
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r-- | ripngd/ripngd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index d534b2b6..6a7bbc54 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -233,10 +233,7 @@ ripng_recv_packet (int sock, u_char *buf, int bufsize, struct msghdr msg; struct iovec iov; struct cmsghdr *cmsgptr; - struct in6_addr dst ; - - dst.s6_addr[0] = 0xFF ; /* calm down compiler: also do nothing - if does not find a dst ! */ + struct in6_addr dst = IN6ADDR_ANY_INIT ; /* Ancillary data. This store cmsghdr and in6_pktinfo. But at this point I can't determine size of cmsghdr */ |