sockets: garbage collect PRCOREQUESTS and stale comment
The code deleted predates FreeBSD history. The comment deleted is 99% outdated. Why KAME decided to use these constants instead of normal ones also lost in centuries.
This commit is contained in:
@@ -2683,7 +2683,7 @@ icmp6_ctloutput(struct socket *so, struct sockopt *sopt)
|
||||
}
|
||||
|
||||
switch (op) {
|
||||
case PRCO_SETOPT:
|
||||
case SOPT_SET:
|
||||
switch (optname) {
|
||||
case ICMP6_FILTER:
|
||||
{
|
||||
@@ -2708,7 +2708,7 @@ icmp6_ctloutput(struct socket *so, struct sockopt *sopt)
|
||||
}
|
||||
break;
|
||||
|
||||
case PRCO_GETOPT:
|
||||
case SOPT_GET:
|
||||
switch (optname) {
|
||||
case ICMP6_FILTER:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user