summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2012-08-22 16:39:56 -0700
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-08-22 16:39:56 -0700
commit03eaec3d06823562d30912b0972b86af15359660 (patch)
tree06ef7221244706e041825f64c244c6a9661d09b2
parentf5e296421f7472670d85f37fac4bcef2abb388ad (diff)
downloadvyatta-conntrack-03eaec3d06823562d30912b0972b86af15359660.tar.gz
vyatta-conntrack-03eaec3d06823562d30912b0972b86af15359660.zip
Fix bug with statistics, count should double increment
-rw-r--r--scripts/vyatta-show-ignore.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-ignore.pl b/scripts/vyatta-show-ignore.pl
index ec77cfb..40efa8f 100644
--- a/scripts/vyatta-show-ignore.pl
+++ b/scripts/vyatta-show-ignore.pl
@@ -81,7 +81,7 @@ sub print_ignore_rules {
my @words = split(' ', $rule_ipt);
printf ($format_ignore_rules, $_, $sourceAddress, $destinationAddress, $protocol, $interface, $words[0], $words[1]);
- $rulecount++;
+ $rulecount+=2;
}
}
#