From: rpe Date: Wed, 7 Jan 2015 19:20:53 +0000 (+0000) Subject: Fix get_ifdevs() - don't filter vlan interfaces. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bb292a559b156243585feb20088cd24488d0d3a7;p=openbsd Fix get_ifdevs() - don't filter vlan interfaces. OK krw@ --- 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