Date: Thu, 30 Jun 2016 14:53:46 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302296 - head/contrib/ipfilter/tools Message-ID: <201606301453.u5UErkRj090520@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Thu Jun 30 14:53:46 2016 New Revision: 302296 URL: https://svnweb.freebsd.org/changeset/base/302296 Log: Remove dead code. Approved by: re@ (hrs@) MFC after: 1 week Modified: head/contrib/ipfilter/tools/ipf.c Modified: head/contrib/ipfilter/tools/ipf.c ============================================================================== --- head/contrib/ipfilter/tools/ipf.c Thu Jun 30 12:44:15 2016 (r302295) +++ head/contrib/ipfilter/tools/ipf.c Thu Jun 30 14:53:46 2016 (r302296) @@ -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'))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606301453.u5UErkRj090520>