summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-04-27 01:18:09 +0200
committerDaniil Baturin <daniil@baturin.org>2014-04-27 01:20:04 +0200
commitf9c3b7461eacae14cad2ee883b2772766ffeda8b (patch)
treedf57744884fb872b74d4006fa06fd58bd15f62f2
parente167e5ed13ea25b973de6ba820f0264f19871548 (diff)
downloadvyatta-conntrack-f9c3b7461eacae14cad2ee883b2772766ffeda8b.tar.gz
vyatta-conntrack-f9c3b7461eacae14cad2ee883b2772766ffeda8b.zip
Bug #185: ensure nf_conntrack_netlink module is loaded.
-rw-r--r--templates-cfg/system/conntrack/log/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates-cfg/system/conntrack/log/node.def b/templates-cfg/system/conntrack/log/node.def
index 83a613e..a73beff 100644
--- a/templates-cfg/system/conntrack/log/node.def
+++ b/templates-cfg/system/conntrack/log/node.def
@@ -1,3 +1,4 @@
help: Log connection tracking events per protocol
priority: 219 # failure at log shouldnt fail conntrack
-end: sudo /opt/vyatta/sbin/vyatta-update-conntrack-log.pl
+end: [ -d /sys/module/nf_conntrack_netlink ] || sudo modprobe nf_conntrack_netlink
+ sudo /opt/vyatta/sbin/vyatta-update-conntrack-log.pl