path: root/doc
diff options
authorPablo Neira Ayuso <>2015-08-21 19:18:38 +0200
committerPablo Neira Ayuso <>2015-09-08 20:10:13 +0200
commit882bb111285a3a4465995b4af03040a291145d7b (patch)
tree7b58c16d7bc1c6c29ed0a33f00c640748a98da51 /doc
parentdd73ceecdbe87b6ecf9e96643cd5326e520d7a1c (diff)
nfct: update syntax in documentation
Since dd73ceecdbe8 ("nfct: Update syntax to specify command before subsystem") the command comes before the object type. Update documentation accordingly. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'doc')
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/helper/conntrackd.conf b/doc/helper/conntrackd.conf
index d2d94a9..5c07509 100644
--- a/doc/helper/conntrackd.conf
+++ b/doc/helper/conntrackd.conf
@@ -6,7 +6,7 @@ Helper {
# Before this, you have to make sure you have registered the `ftp'
# user-space helper stub via:
- # nfct helper add ftp inet tcp
+ # nfct add helper ftp inet tcp
Type ftp inet tcp {
diff --git a/doc/manual/conntrack-tools.tmpl b/doc/manual/conntrack-tools.tmpl
index d23dec5..87a792e 100644
--- a/doc/manual/conntrack-tools.tmpl
+++ b/doc/manual/conntrack-tools.tmpl
@@ -899,8 +899,8 @@ maintainance.</para></listitem>
<listitem><para>Register user-space helper:
-nfct helper add rpc inet udp
-nfct helper add rpc inet tcp
+nfct add helper rpc inet udp
+nfct add helper rpc inet tcp
This registers the portmapper helper for both UDP and TCP (NFSv3 traffic goes both over TCP and UDP).