Author: cy
Date: Thu Jul  7 02:23:52 2016
New Revision: 302383
URL: https://svnweb.freebsd.org/changeset/base/302383

Log:
  MFC r302296:
  
  Remove dead code.

Modified:
  stable/10/contrib/ipfilter/tools/ipf.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/ipfilter/tools/ipf.c
==============================================================================
--- stable/10/contrib/ipfilter/tools/ipf.c      Wed Jul  6 23:49:19 2016        
(r302382)
+++ stable/10/contrib/ipfilter/tools/ipf.c      Thu Jul  7 02:23:52 2016        
(r302383)
@@ -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'))
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to