summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack
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:18:09 +0200
commitabd7059425fceaf2b3c513537c80eef338dbf635 (patch)
treebc4a56fdba4ee00743ddab0349c085f657e124aa /templates-cfg/system/conntrack
parent9d149e66b4fcb51a51aac8c5e35f7984a9a6c989 (diff)
downloadvyatta-conntrack-abd7059425fceaf2b3c513537c80eef338dbf635.tar.gz
vyatta-conntrack-abd7059425fceaf2b3c513537c80eef338dbf635.zip
Bug #185: ensure nf_conntrack_netlink module is loaded.vyos/1.1.0-beta1
Diffstat (limited to 'templates-cfg/system/conntrack')
-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