summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 81d97de..2e7c421 100755
--- a/scripts/firewall/vyatta-show-firewall.pl
+++ b/scripts/firewall/vyatta-show-firewall.pl
@@ -166,7 +166,7 @@ sub show_chain($$$) {
my $tree;
my $config = new Vyatta::Config;
my @chains;
-my @tree_chain_name = split('_', $tree_chain);
+my @tree_chain_name = split('_', $tree_chain, 2);
my $tree_name = $tree_chain_name[0];
my $chain_name = $tree_chain_name[1];