summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/vyatta-wanloadbalance.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl
index a64d494..f476ac2 100644
--- a/scripts/vyatta-wanloadbalance.pl
+++ b/scripts/vyatta-wanloadbalance.pl
@@ -319,6 +319,9 @@ my $conf_file = '/var/run/load-balance/wlb.conf';
my $conf_lck_file = '/var/run/load-balance/wlb.conf.lck';
`sudo mkdir -p /var/run/load-balance`;
+# Enable conntrack counters
+`sudo sysctl -w net.netfilter.nf_conntrack_acct=1`;
+
####are we just validating?
if (defined $nexthop) {
my $rc = Vyatta::TypeChecker::validateType('ipv4', $nexthop, 1);