From b6e48dd4171703e403626c5506c0607b1ec6327a Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 4 Mar 2009 18:03:08 -0800 Subject: Fix show_interfaces() so that it includes vlans for $type='all'. --- scripts/vyatta-interfaces.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vyatta-interfaces.pl') 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"; -- cgit v1.2.3