summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-03-04 18:03:08 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-03-04 18:03:08 -0800
commitb6e48dd4171703e403626c5506c0607b1ec6327a (patch)
tree6839c27f7af645fcd4258b22853a799a3c039d1b
parentc6647afef2c1f8a64fb0ad423f4d7f56cd0e7a4f (diff)
downloadvyatta-cfg-b6e48dd4171703e403626c5506c0607b1ec6327a.tar.gz
vyatta-cfg-b6e48dd4171703e403626c5506c0607b1ec6327a.zip
Fix show_interfaces() so that it includes vlans for $type='all'.
-rwxr-xr-xscripts/vyatta-interfaces.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl
index 89b6e1e..816b51f 100755
--- a/scripts/vyatta-interfaces.pl
+++ b/scripts/vyatta-interfaces.pl
@@ -452,7 +452,7 @@ sub show_interfaces {
if ($vif_name eq $intf->physicalDevice());
} else {
push @match, $name
- unless $intf->vif();
+ unless $intf->vif() and $type ne 'all';
}
}
print join(' ', @match), "\n";