summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/tools/ipf.c
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-07-07 02:23:52 +0000
committercy <cy@FreeBSD.org>2016-07-07 02:23:52 +0000
commitcdd9658c0e7df96accf9bceec1063d23771a3540 (patch)
tree6224216edc9e6f05bdfa3c582cb2f74700c4f3c4 /contrib/ipfilter/tools/ipf.c
parent4199bec9b4f66720daa3225f22555919a48e7182 (diff)
downloadFreeBSD-src-cdd9658c0e7df96accf9bceec1063d23771a3540.zip
FreeBSD-src-cdd9658c0e7df96accf9bceec1063d23771a3540.tar.gz
MFC r302296:
Remove dead code.
Diffstat (limited to 'contrib/ipfilter/tools/ipf.c')
-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