From 20cdabbd063da28517140d9f05942e1ebecc26c7 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 13 Aug 2012 11:32:37 -0700 Subject: Use new Vyatta::Interface:get_effective_interfaces Change of internal API to interface configuration. --- scripts/firewall/vyatta-show-firewall.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/firewall/vyatta-show-firewall.pl') diff --git a/scripts/firewall/vyatta-show-firewall.pl b/scripts/firewall/vyatta-show-firewall.pl index 73f825f..aadeb54 100755 --- a/scripts/firewall/vyatta-show-firewall.pl +++ b/scripts/firewall/vyatta-show-firewall.pl @@ -54,7 +54,7 @@ sub show_interfaces_zones { my $cfg = new Vyatta::Config; my @int_strs = (); - for (Vyatta::Interface::get_all_cfg_interfaces(1)) { + for (Vyatta::Interface::get_effective_interfaces()) { my ($iname, $ipath) = ($_->{name}, $_->{path}); for my $dir ($cfg->listOrigNodes("$ipath firewall")) { my $ichain = $cfg->returnOrigValue("$ipath firewall $dir $tree"); -- cgit v1.2.3