diff options
Diffstat (limited to 'usr.sbin/rrenumd/rrenumd.c')
-rw-r--r-- | usr.sbin/rrenumd/rrenumd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rrenumd/rrenumd.c b/usr.sbin/rrenumd/rrenumd.c index e166789..cde16c2 100644 --- a/usr.sbin/rrenumd/rrenumd.c +++ b/usr.sbin/rrenumd/rrenumd.c @@ -305,7 +305,7 @@ sock6_open(struct flags *flags /* specify to tell receiving interface */ on = 1; - if (setsockopt(s6, IPPROTO_IPV6, IPV6_PKTINFO, &on, + if (setsockopt(s6, IPPROTO_IPV6, IPV6_RECVPKTINFO, &on, sizeof(on)) < 0) { syslog(LOG_ERR, "<%s> IPV6_PKTINFO: %s", __FUNCTION__, strerror(errno)); |