=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/etc/netstart 1997/07/25 00:06:03 1.23 --- src/etc/netstart 1997/07/28 19:31:47 1.24 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.23 1997/07/25 00:06:03 provos Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=-q --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.24 1997/07/28 19:31:47 kstailey Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=-q *************** *** 64,71 **** nat=NO fi ! # configure all of the interfaces which we know about. # do this by reading /etc/hostname.* files, where * is the name # of a given interface. # --- 64,77 ---- nat=NO fi + # set the address for the loopback interface + ifconfig lo0 inet localhost ! # use loopback, not the wire ! route add $hostname localhost ! route add -net 127 127.0.0.1 -reject ! ! # configure all of the non-loopback interfaces which we know about. # do this by reading /etc/hostname.* files, where * is the name # of a given interface. # *************** *** 120,137 **** done ) - # set the address for the loopback interface - ifconfig lo0 inet localhost - # /etc/mygate, if it exists, contains the name of my gateway host # that name must be in /etc/hosts. if [ -f /etc/mygate ]; then route add default `cat /etc/mygate` fi - - # use loopback, not the wire - route add $hostname localhost - route add -net 127 127.0.0.1 -reject # default multicast route route add -net 224.0.0.0 -interface $hostname --- 126,136 ----