@@ -2091,14 +2091,14 @@ nfct_filter_init(const int family)
if (options & CT_OPT_MASK_SRC) {
if (!(options & CT_OPT_ORIG_SRC))
exit_error(PARAMETER_PROBLEM,
- "Can't use --mask-src without --src");
+ "Can't use --mask-src without --orig-src");
nfct_network_attr_prepare(family, DIR_SRC);
}
if (options & CT_OPT_MASK_DST) {
if (!(options & CT_OPT_ORIG_DST))
exit_error(PARAMETER_PROBLEM,
- "Can't use --mask-dst without --dst");
+ "Can't use --mask-dst without --orig-dst");
nfct_network_attr_prepare(family, DIR_DST);
}
}
If running into PARAMETER_PROBLEM on usage of --mask-src, or --mask-dst without using the needed --orig-src, or --orig-dst option, the wrong options were offered in the error message. Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at> --- src/conntrack.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)