summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-02-27 13:43:37 -0800
committerJohn Southworth <john.southworth@vyatta.com>2012-02-27 13:43:37 -0800
commit7af49d83fc37e3eec8bf13d380363d0a169ef4b4 (patch)
tree9c22974169ff1e3e29af71dbbb5d7f70631f9fc9
parent890e6b60edebbb7f4bd3898504cb3e7e253aa9b2 (diff)
downloadvyatta-op-firewall-7af49d83fc37e3eec8bf13d380363d0a169ef4b4.tar.gz
vyatta-op-firewall-7af49d83fc37e3eec8bf13d380363d0a169ef4b4.zip
Bugfix 7830: fix config level problem
-rwxr-xr-xlib/Vyatta/FirewallOpMode/Summary.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/FirewallOpMode/Summary.pm b/lib/Vyatta/FirewallOpMode/Summary.pm
index efd57a4..4eee35a 100755
--- a/lib/Vyatta/FirewallOpMode/Summary.pm
+++ b/lib/Vyatta/FirewallOpMode/Summary.pm
@@ -88,6 +88,7 @@ sub show_tree {
foreach (sort @chains) {
$chain_cnt++;
$tree_hash->{$_}->{references} = show_interfaces_zones($_, $tree, $config, \@cfg_ifs);
+ $config->setLevel("firewall $tree");
$tree_hash->{$_}->{description} = $config->returnOrigValue("$_ description");
}
return $tree_hash;