aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2016-06-30 14:53:46 +0000
committerCy Schubert <cy@FreeBSD.org>2016-06-30 14:53:46 +0000
commit53362bdcc56beca1789c421cae5b7dce21eeb0dd (patch)
treefd7ac9d9f163b35b2f4ac96dcd6d3d4b891accf6 /contrib
parentae5876ea1970031e0c41afb2c85dda9dc2095197 (diff)
downloadsrc-53362bdcc56beca1789c421cae5b7dce21eeb0dd.tar.gz
src-53362bdcc56beca1789c421cae5b7dce21eeb0dd.zip
Notes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ipfilter/tools/ipf.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/ipfilter/tools/ipf.c b/contrib/ipfilter/tools/ipf.c
index 08cfb0a90191..901728b5cc7c 100644
--- a/contrib/ipfilter/tools/ipf.c
+++ b/contrib/ipfilter/tools/ipf.c
@@ -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'))