summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/src
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-04-20 16:55:29 +0200
committerJo-Philipp Wich <jo@mein.io>2017-04-20 16:55:29 +0200
commit7ae244a26ef516511a5e476dd14ec033501a1d8d (patch)
tree16056db1c9c02bb12406aa961a81664dac3147a9 /modules/luci-base/src
parent2eda14beee54d885ab2a607ca54beb48807999c6 (diff)
luci-mod-admin-full: use `nf_conntrack_count` for counting connections (#1114)
As suggested by PR #1114, use `/proc/sys/net/netfilter/nf_conntrack_count` instead of counting the lines in `/proc/net/nf_conntrack` but use a slightly more efficient approach which avoids spawning an extra `cat` command. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/src')
0 files changed, 0 insertions, 0 deletions