diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-12-24 19:34:47 +0000 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2020-12-25 13:34:46 +0200 |
commit | d2c3efbdabbe1c31a8fabbf27be2fc2dc10382a6 (patch) | |
tree | be919c97151b5f91190390b70d285566961f6548 | |
parent | 26bff04824b7904298a80fff9d35877cd2c2b09a (diff) | |
download | vyatta-wanloadbalance-d2c3efbdabbe1c31a8fabbf27be2fc2dc10382a6.tar.gz vyatta-wanloadbalance-d2c3efbdabbe1c31a8fabbf27be2fc2dc10382a6.zip |
wanloadbalance: T3152: Enable conntrack counters
-rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 3 |
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); |