summaryrefslogtreecommitdiff
path: root/scripts/vyatta-show-conntrack.pl
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2012-08-21 13:51:34 -0700
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-08-21 13:51:34 -0700
commit055ec2701c5d516b1309abdc422605d52da470e7 (patch)
tree9bd83b9c4e28f3f324af7599a31d1e5ae72adac2 /scripts/vyatta-show-conntrack.pl
parent2acba299599b9f39a17164018227f12978e030aa (diff)
downloadvyatta-conntrack-055ec2701c5d516b1309abdc422605d52da470e7.tar.gz
vyatta-conntrack-055ec2701c5d516b1309abdc422605d52da470e7.zip
Add show conntrack ignore command for showing conntrack ignore rules with packet, byte statistics
Diffstat (limited to 'scripts/vyatta-show-conntrack.pl')
-rwxr-xr-xscripts/vyatta-show-conntrack.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-show-conntrack.pl b/scripts/vyatta-show-conntrack.pl
index f1f67c2..cc3bdc6 100755
--- a/scripts/vyatta-show-conntrack.pl
+++ b/scripts/vyatta-show-conntrack.pl
@@ -40,6 +40,8 @@ my $format = "%-10s %-22s %-22s %-16s %-20s\n";
my $format_IPv6 = "%-10s %-40s %-40s %-16s %-20s\n";
my $href; #reference to hash containing protocol-num to name key-value pairs
+sub numerically { $a <=> $b; }
+
sub print_xml {
my ($data, $cache, $family) = @_;
my $flow = 0;