summaryrefslogtreecommitdiff
path: root/scripts/firewall/vyatta-ipset.pl
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-15 15:51:55 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-15 15:51:55 -0800
commite64e39512d6909150cb189c7d59fb72db4216ddb (patch)
tree9c19685a71c75c60aaf2de76b27827c48b8f788f /scripts/firewall/vyatta-ipset.pl
parentc0e91ced01c7b87a818577245969aeedb7aa5796 (diff)
downloadvyatta-cfg-firewall-e64e39512d6909150cb189c7d59fb72db4216ddb.tar.gz
vyatta-cfg-firewall-e64e39512d6909150cb189c7d59fb72db4216ddb.zip
Add support for ranges in firewall group address & port.
Diffstat (limited to 'scripts/firewall/vyatta-ipset.pl')
-rwxr-xr-xscripts/firewall/vyatta-ipset.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/firewall/vyatta-ipset.pl b/scripts/firewall/vyatta-ipset.pl
index 7d6b783..57b8ce1 100755
--- a/scripts/firewall/vyatta-ipset.pl
+++ b/scripts/firewall/vyatta-ipset.pl
@@ -105,12 +105,13 @@ sub ipset_show_members {
my @fw_refs = $group->get_firewall_references();
push @fw_refs, 'none' if scalar(@fw_refs) == 0;
+ my $padding = ' ' x 13;
print "Name : $set_name\n";
print "Type : $type\n";
print "Description: $desc\n" if defined $desc;
print "References : ", join(', ', @fw_refs), "\n";
print "Members :\n";
- print @members;
+ print $padding, join($padding, @members);
return;
}