diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-01-07 19:20:54 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-01-07 19:20:54 +0000 |
commit | 08861adec7f799b6ea080e25986659113a1b60cf (patch) | |
tree | 31aa1d248503bec447448aa6c1cd3d0285e6c26e | |
parent | 772ac80c49e6eca46ebac3cc41b82d7eee30df43 (diff) |
Fix get_ifdevs() - don't filter vlan interfaces.
OK krw@
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 4590774878b..d0cf08960b3 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.806 2015/01/04 18:44:12 tedu Exp $ +# $OpenBSD: install.sub,v 1.807 2015/01/07 19:20:53 rpe Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback # All rights reserved. @@ -161,7 +161,7 @@ get_cddevs () { } get_ifdevs() { - local _if _iflist=$(ifconfig -C) + local _if _iflist=$(rmel vlan $(ifconfig -C)) for _if in $(ifconfig "$@" 2>/dev/null | sed -n 's/^\([^[:space:]]*\):.*/\1/p'); do |