diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-03-04 18:03:08 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-03-04 18:03:08 -0800 |
commit | b6e48dd4171703e403626c5506c0607b1ec6327a (patch) | |
tree | 6839c27f7af645fcd4258b22853a799a3c039d1b | |
parent | c6647afef2c1f8a64fb0ad423f4d7f56cd0e7a4f (diff) | |
download | vyatta-cfg-b6e48dd4171703e403626c5506c0607b1ec6327a.tar.gz vyatta-cfg-b6e48dd4171703e403626c5506c0607b1ec6327a.zip |
Fix show_interfaces() so that it includes vlans for $type='all'.
-rwxr-xr-x | scripts/vyatta-interfaces.pl | 2 |
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"; |