do not refer to IN6P_BINDV6ONLY anymore.
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
73d7a388d6
commit
cd3f29ae66
@ -283,7 +283,6 @@ struct inpcbinfo { /* XXX documentation, prefixes */
|
||||
#define IN6P_RTHDR 0x100000 /* receive routing header */
|
||||
#define IN6P_RTHDRDSTOPTS 0x200000 /* receive dstoptions before rthdr */
|
||||
#define IN6P_AUTOFLOWLABEL 0x800000 /* attach flowlabel automatically */
|
||||
#define IN6P_BINDV6ONLY 0x10000000 /* do not grab IPv4 traffic */
|
||||
|
||||
#define INP_CONTROLOPTS (INP_RECVOPTS|INP_RECVRETOPTS|INP_RECVDSTADDR|\
|
||||
INP_RECVIF|\
|
||||
|
@ -1376,11 +1376,6 @@ do { \
|
||||
error = EINVAL;
|
||||
break;
|
||||
}
|
||||
/*
|
||||
* XXX: BINDV6ONLY should be integrated
|
||||
* into V6ONLY.
|
||||
*/
|
||||
OPTSET(IN6P_BINDV6ONLY);
|
||||
OPTSET(IN6P_IPV6_V6ONLY);
|
||||
break;
|
||||
}
|
||||
@ -1568,8 +1563,7 @@ do { \
|
||||
break;
|
||||
|
||||
case IPV6_V6ONLY:
|
||||
/* XXX: see the setopt case. */
|
||||
optval = OPTBIT(IN6P_BINDV6ONLY);
|
||||
optval = OPTBIT(IN6P_IPV6_V6ONLY);
|
||||
break;
|
||||
|
||||
case IPV6_PORTRANGE:
|
||||
|
Loading…
Reference in New Issue
Block a user