summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2010-06-16 23:45:58 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2010-06-16 23:45:58 +0000
commit2f218a01e23cf54821e347b2ae5282ee16964771 (patch)
tree756caf33b818b656ac69b87619da6cf25b9ffc6f
parentd0d1b82a2e0844226881ede93266ac2c27bfdf6c (diff)
permit e.g. -inet6 syntax by slurping all lines not just some
noticed by rhsv6 at hushmail dot com, ok sthen@
-rw-r--r--etc/netstart4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart
index 11a015c7fa3..5cc06c289a6 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/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)
# from a file and spew to stdout
@@ -111,7 +111,7 @@ ifstart() {
dest)
cmd="$cmd $dtaddr"
;;
- [a-z!]*)
+ *)
cmd2="$dt $dtaddr"
;;
esac