mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Remove dead code.
Approved by: re@ (hrs@) MFC after: 1 week
This commit is contained in:
parent
ae5876ea19
commit
53362bdcc5
1 changed files with 0 additions and 17 deletions
|
|
@ -410,23 +410,6 @@ static void flushfilter(arg, filter)
|
|||
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'))
|
||||
fl = FR_INQUE;
|
||||
if (strchr(arg, 'o') || strchr(arg, 'O'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue