diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-13 11:32:37 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-13 11:32:37 -0700 |
commit | 20cdabbd063da28517140d9f05942e1ebecc26c7 (patch) | |
tree | ef5ad93758c10da07afe5626182bfbb6fbff5557 /scripts/firewall/vyatta-show-firewall.pl | |
parent | f1ef8ce510453ca082b4e6563863d0e0f3c6894d (diff) | |
download | vyatta-op-firewall-20cdabbd063da28517140d9f05942e1ebecc26c7.tar.gz vyatta-op-firewall-20cdabbd063da28517140d9f05942e1ebecc26c7.zip |
Use new Vyatta::Interface:get_effective_interfaces
Change of internal API to interface configuration.
Diffstat (limited to 'scripts/firewall/vyatta-show-firewall.pl')
-rwxr-xr-x | scripts/firewall/vyatta-show-firewall.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |