mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Since semantic of IPV6_PKTINFO was changed in RFC3542, we need to
use IPV6_RECVPKTINFO instead. Reported by: someone (I had removed the mail wrongly, sorry)
This commit is contained in:
parent
75e40e4604
commit
47f0776134
1 changed files with 1 additions and 1 deletions
|
|
@ -1290,7 +1290,7 @@ setsockopt(fd, SOL_SOCKET, opt, (char *)&on, sizeof (on))
|
|||
if ((sep->se_family == AF_INET6) &&
|
||||
(strcmp(sep->se_proto, "udp") == 0) &&
|
||||
(sep->se_accept == 0) &&
|
||||
(setsockopt(sep->se_fd, IPPROTO_IPV6, IPV6_PKTINFO,
|
||||
(setsockopt(sep->se_fd, IPPROTO_IPV6, IPV6_RECVPKTINFO,
|
||||
(char *)&on, sizeof (on)) < 0))
|
||||
syslog(LOG_ERR, "setsockopt (IPV6_RECVPKTINFO): %m");
|
||||
if (sep->se_family == AF_INET6) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue