diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2005-11-02 18:45:27 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2005-11-02 18:45:27 +0000 |
commit | 7046ecf41f8fe41879b7313a005974392d9c2222 (patch) | |
tree | e3598e997e2be3e1366a8bd3c700d3f32414c868 | |
parent | 9247477655adc65ccd715cd96904db625fed9970 (diff) |
fix inspired by pr#4590
ok krw@
-rw-r--r-- | etc/netstart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart index cb6f6ceb19a..7e4fcb4a202 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.110 2005/10/25 14:18:38 todd Exp $ +# $OpenBSD: netstart,v 1.111 2005/11/02 18:45:26 todd Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout @@ -172,7 +172,7 @@ bridgestart() { brconfig $1 > /dev/null 2>&1 if [ "$?" != "0" ]; then # Try to create interface if it does not exist - ifconfig $if create > /dev/null 2>&1 + ifconfig $1 create > /dev/null 2>&1 if [ "$?" != "0" ]; then return fi |