diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-15 15:51:55 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-15 15:51:55 -0800 |
commit | e64e39512d6909150cb189c7d59fb72db4216ddb (patch) | |
tree | 9c19685a71c75c60aaf2de76b27827c48b8f788f /scripts/firewall/vyatta-ipset.pl | |
parent | c0e91ced01c7b87a818577245969aeedb7aa5796 (diff) | |
download | vyatta-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-x | scripts/firewall/vyatta-ipset.pl | 3 |
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; } |