one more IPV6_PKTINFO -> IPV6_RECVPKTINFO.
This commit is contained in:
parent
422e293c7f
commit
87931aff11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121561
@ -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