summaryrefslogtreecommitdiffstats
path: root/src/nfct-extensions/helper.c
diff options
context:
space:
mode:
authorMart Frauenlob <mart.frauenlob@chello.at>2016-04-08 08:18:43 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-04-08 12:28:03 +0200
commite8d5400b1400cd4ba08f6606f7534c1526805e70 (patch)
tree60705b6d022062b6c4b72756b71f9f4fa8fe6cf0 /src/nfct-extensions/helper.c
parent0225c9938bee905417939899589835735c3e4187 (diff)
nfct: helper: correct error messages.
Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/nfct-extensions/helper.c')
-rw-r--r--src/nfct-extensions/helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nfct-extensions/helper.c b/src/nfct-extensions/helper.c
index dfc55e7..0569827 100644
--- a/src/nfct-extensions/helper.c
+++ b/src/nfct-extensions/helper.c
@@ -33,7 +33,7 @@ static void
nfct_cmd_helper_usage(char *argv[])
{
fprintf(stderr, "nfct v%s: Missing command\n"
- "%s helper list|add|delete|get|flush "
+ "%s helper list|add|delete|disable|get|flush "
"[parameters...]\n", VERSION, argv[0]);
}
@@ -408,7 +408,7 @@ nfct_cmd_helper_disable(struct mnl_socket *nl, int argc, char *argv[])
if (argc < 6) {
nfct_perror("missing parameters\n"
- "syntax: nfct add helper name family protocol");
+ "syntax: nfct disable helper name family protocol");
return -1;
}