Browse Source

Use "route -n show -inet" to determine the default multicast iface.

OPENBSD_3_0
angelos 23 years ago
parent
commit
04a6a1078d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/netstart

+ 2
- 2
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: netstart,v 1.79 2001/07/03 03:28:19 deraadt Exp $
# $OpenBSD: netstart,v 1.80 2001/07/06 05:44:40 angelos Exp $
# Returns true if $1 contains only alphanumerics # Returns true if $1 contains only alphanumerics
isalphanumeric() { isalphanumeric() {
@ -255,7 +255,7 @@ NO:YES)
;; ;;
*:NO) *:NO)
set `if [ $multicast_host = YES ]; then set `if [ $multicast_host = YES ]; then
ed -s '!route -n show' <<EOF
ed -s '!route -n show -inet' <<EOF
/^default/p /^default/p
EOF EOF
else else


Loading…
Cancel
Save