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@xxxxxxxxx> --- src/conntrack.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conntrack.c b/src/conntrack.c index 2367459..d40f23f 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -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); } } -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html