summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-08-21 19:18:38 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-08 20:10:13 +0200
commit882bb111285a3a4465995b4af03040a291145d7b (patch)
tree7b58c16d7bc1c6c29ed0a33f00c640748a98da51 /doc
parentdd73ceecdbe87b6ecf9e96643cd5326e520d7a1c (diff)
downloadconntrack-tools-882bb111285a3a4465995b4af03040a291145d7b.tar.gz
conntrack-tools-882bb111285a3a4465995b4af03040a291145d7b.zip
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 <pablo@netfilter.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/helper/conntrackd.conf2
-rw-r--r--doc/manual/conntrack-tools.tmpl4
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:
<programlisting>
-nfct helper add rpc inet udp
-nfct helper add rpc inet tcp
+nfct add helper rpc inet udp
+nfct add helper rpc inet tcp
</programlisting>
This registers the portmapper helper for both UDP and TCP (NFSv3 traffic goes both over TCP and UDP).