summaryrefslogtreecommitdiff
path: root/scripts/vyatta-interfaces.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-interfaces.pl')
-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";