From d3e4a1c040e6bc05d4176bee4bb679d05baf287d Mon Sep 17 00:00:00 2001 From: cy Date: Thu, 7 Jul 2016 02:23:52 +0000 Subject: [PATCH] MFC r302296: Remove dead code. git-svn-id: svn://svn.freebsd.org/base/stable/10@302383 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- contrib/ipfilter/tools/ipf.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/contrib/ipfilter/tools/ipf.c b/contrib/ipfilter/tools/ipf.c index 08cfb0a90..901728b5c 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')) -- 2.45.0