one more IPV6_PKTINFO -> IPV6_RECVPKTINFO.

This commit is contained in:
Hajimu UMEMOTO 2003-10-26 06:21:16 +00:00
parent 422e293c7f
commit 87931aff11
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121561

View File

@ -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));