summaryrefslogtreecommitdiff
path: root/scripts/firewall/vyatta-show-firewall.pl
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-08-13 11:32:37 -0700
committerStephen Hemminger <shemminger@vyatta.com>2012-08-13 11:32:37 -0700
commit20cdabbd063da28517140d9f05942e1ebecc26c7 (patch)
treeef5ad93758c10da07afe5626182bfbb6fbff5557 /scripts/firewall/vyatta-show-firewall.pl
parentf1ef8ce510453ca082b4e6563863d0e0f3c6894d (diff)
downloadvyatta-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-xscripts/firewall/vyatta-show-firewall.pl2
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");