Remove dead code.
Approved by: re@ (hrs@) MFC after: 1 week
This commit is contained in:
parent
ae5876ea19
commit
53362bdcc5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302296
@ -410,23 +410,6 @@ static void flushfilter(arg, filter)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SIOCIPFFA
|
|
||||||
if (!strcmp(arg, "u")) {
|
|
||||||
closedevice();
|
|
||||||
/*
|
|
||||||
* Flush auth rules and packets
|
|
||||||
*/
|
|
||||||
if (opendevice(IPL_AUTH, 1) == -1)
|
|
||||||
perror("open(IPL_AUTH)");
|
|
||||||
else {
|
|
||||||
if (ioctl(fd, SIOCIPFFA, &fl) == -1)
|
|
||||||
ipferror(fd, "ioctl(SIOCIPFFA)");
|
|
||||||
}
|
|
||||||
closedevice();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (strchr(arg, 'i') || strchr(arg, 'I'))
|
if (strchr(arg, 'i') || strchr(arg, 'I'))
|
||||||
fl = FR_INQUE;
|
fl = FR_INQUE;
|
||||||
if (strchr(arg, 'o') || strchr(arg, 'O'))
|
if (strchr(arg, 'o') || strchr(arg, 'O'))
|
||||||
|
Loading…
Reference in New Issue
Block a user