[BACK]Return to netstart CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/netstart between version 1.77 and 1.78

version 1.77, 2001/03/13 21:15:09 version 1.78, 2001/05/30 02:11:08
Line 27 
Line 27 
 # pick up option configuration  # pick up option configuration
 . /etc/rc.conf  . /etc/rc.conf
   
 # Configure the IP filter before configuring network interfaces  
 if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then  
         echo 'configuring IP filter'  
         ipf -Fa -f ${ipfilter_rules}  
 else  
         ipfilter=NO  
 fi  
   
 # set the address for the loopback interface  # set the address for the loopback interface
 # it will also initialize IPv6 address for lo0 (::1 and others).  # it will also initialize IPv6 address for lo0 (::1 and others).
 ifconfig lo0 inet localhost  ifconfig lo0 inet localhost
Line 281 
Line 273 
         route -n add -net 224.0.0.0/4 -interface 127.0.0.1 -reject > /dev/null          route -n add -net 224.0.0.0/4 -interface 127.0.0.1 -reject > /dev/null
         ;;          ;;
 esac  esac
   
 # Configure NAT after configuring network interfaces  
 if [ "${ipnat}" = "YES" -a "${ipfilter}" = "YES" -a -f "${ipnat_rules}" ]; then  
         echo 'configuring NAT'  
         ipnat -CF -f ${ipnat_rules}  
 else  
         ipnat=NO  
 fi  

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78