From 53362bdcc56beca1789c421cae5b7dce21eeb0dd Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Thu, 30 Jun 2016 14:53:46 +0000 Subject: [PATCH] Remove dead code. Approved by: re@ (hrs@) MFC after: 1 week --- 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 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'))