[BACK]Return to ipfilter CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc.d/ipfilter between version 1.10 and 1.10.4.2

version 1.10, 2001/02/28 17:03:50 version 1.10.4.2, 2004/11/12 06:44:17
Line 43  ipfilter_prestart()
Line 43  ipfilter_prestart()
 ipfilter_start()  ipfilter_start()
 {  {
         echo "Enabling ipfilter."          echo "Enabling ipfilter."
         /sbin/ipf -E -Fa          /sbin/ipf -E
           /sbin/ipf -Fa
           /sbin/ipf -6 -Fa
         if [ -f /etc/ipf.conf ]; then          if [ -f /etc/ipf.conf ]; then
                 /sbin/ipf -f /etc/ipf.conf                  /sbin/ipf -f /etc/ipf.conf
         fi          fi
Line 63  ipfilter_reload()
Line 65  ipfilter_reload()
         echo "Reloading ipfilter rules."          echo "Reloading ipfilter rules."
   
         /sbin/ipf -I -Fa          /sbin/ipf -I -Fa
           /sbin/ipf -6 -I -Fa
         if [ -f /etc/ipf.conf ] && ! /sbin/ipf -I -f /etc/ipf.conf; then          if [ -f /etc/ipf.conf ] && ! /sbin/ipf -I -f /etc/ipf.conf; then
                 err 1 "reload of ipf.conf failed; not swapping to new ruleset."                  err 1 "reload of ipf.conf failed; not swapping to new ruleset."
         fi          fi

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.10.4.2

CVSweb <webmaster@jp.NetBSD.org>