Browse Source

permit e.g. -inet6 syntax by slurping all lines not just some

noticed by rhsv6 at hushmail dot com, ok sthen@
OPENBSD_4_8
todd 14 years ago
parent
commit
a1bd980ea1
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.129 2010/01/12 07:43:41 henning Exp $
# $OpenBSD: netstart,v 1.130 2010/06/16 23:45:57 todd Exp $
# Strip comments (and leading/trailing whitespace if IFS is set) # Strip comments (and leading/trailing whitespace if IFS is set)
# from a file and spew to stdout # from a file and spew to stdout
@ -111,7 +111,7 @@ ifstart() {
dest) dest)
cmd="$cmd $dtaddr" cmd="$cmd $dtaddr"
;; ;;
[a-z!]*)
*)
cmd2="$dt $dtaddr" cmd2="$dt $dtaddr"
;; ;;
esac esac


Loading…
Cancel
Save