diff options
author | pst <pst@FreeBSD.org> | 1994-10-06 20:52:00 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1994-10-06 20:52:00 +0000 |
commit | f26366acd425e87f137847a6764b1296dca76bf7 (patch) | |
tree | 867bf3fef0cc509c003e55fb6cf62709359c6535 /etc | |
parent | ee2f55bcfa06d933cd8c9c543f3ff2418f8b856c (diff) | |
download | FreeBSD-src-f26366acd425e87f137847a6764b1296dca76bf7.zip FreeBSD-src-f26366acd425e87f137847a6764b1296dca76bf7.tar.gz |
Make multicasts go out default interface
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/netstart | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart index 7128c0c..abad5f8 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.13 1994/09/15 01:19:43 phk Exp $ +# $Id: netstart,v 1.14 1994/09/29 17:27:45 pst Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 defaultrouter=NO @@ -38,6 +38,10 @@ done # set the address for the loopback interface ifconfig lo0 inet localhost +# set interface for multicasts to default interface +# this needs to happen before router discovery +route add 224.0.0.0 -netmask 0xf0000000 -interface $hostname + if [ -n "$defaultrouter" -a "x$defaultrouter" != "xNO" ] ; then route add default $defaultrouter elif [ -f /etc/defaultrouter ] ; then |