summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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;
}