aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/route6d
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2017-01-12 16:22:28 +0000
committerAlan Somers <asomers@FreeBSD.org>2017-01-12 16:22:28 +0000
commitc6e3715fbc88e01ad68b7e9e12247e0257b94844 (patch)
tree145c64c2cf40beb7cc18c14b2fd6aed646db8415 /usr.sbin/route6d
parentf8adf1a78416cce82165e1a68d7018e325665bc4 (diff)
Notes
Diffstat (limited to 'usr.sbin/route6d')
-rw-r--r--usr.sbin/route6d/route6d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index 90a492f7fe8a..41f8fe315d87 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -1062,6 +1062,7 @@ sendpacket(struct sockaddr_in6 *sin6, int len)
iov[0].iov_len = len;
m.msg_iov = iov;
m.msg_iovlen = 1;
+ m.msg_flags = 0;
if (!idx) {
m.msg_control = NULL;
m.msg_controllen = 0;
@@ -1126,6 +1127,7 @@ riprecv(void)
cm = (struct cmsghdr *)cmsgbuf;
m.msg_control = (caddr_t)cm;
m.msg_controllen = sizeof(cmsgbuf);
+ m.msg_flags = 0;
if ((len = recvmsg(ripsock, &m, 0)) < 0) {
fatal("recvmsg");
/*NOTREACHED*/