one more IPV6_PKTINFO -> IPV6_RECVPKTINFO.
This commit is contained in:
parent
422e293c7f
commit
87931aff11
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user