summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-06-30 14:53:46 +0000
committercy <cy@FreeBSD.org>2016-06-30 14:53:46 +0000
commit956164118e33fae234374dee51cf382cfd6d886d (patch)
treefd7ac9d9f163b35b2f4ac96dcd6d3d4b891accf6
parentd19e109faf79c3eee593f048a4b1c79e5c102139 (diff)
downloadFreeBSD-src-956164118e33fae234374dee51cf382cfd6d886d.zip
FreeBSD-src-956164118e33fae234374dee51cf382cfd6d886d.tar.gz
Remove dead code.
Approved by: re@ (hrs@) MFC after: 1 week
-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 08cfb0a..901728b 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'))
OpenPOWER on IntegriCloud