From: Jan Engelhardt Date: Thu, 12 May 2011 22:11:00 +0000 (+0200) Subject: libipt_[SD]NAT: flag up module name on error X-Git-Tag: v1.4.11~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e82d031af24c8155357c6f2d2b2e236bd6cf67e4;p=thirdparty%2Fiptables.git libipt_[SD]NAT: flag up module name on error Signed-off-by: Jan Engelhardt --- diff --git a/extensions/libipt_DNAT.c b/extensions/libipt_DNAT.c index 6a46f109..8c4c9c25 100644 --- a/extensions/libipt_DNAT.c +++ b/extensions/libipt_DNAT.c @@ -169,7 +169,7 @@ static void DNAT_parse(struct xt_option_call *cb) get_kernel_version(); if (kernel_version > LINUX_VERSION(2, 6, 10)) xtables_error(PARAMETER_PROBLEM, - "Multiple --to-destination not supported"); + "DNAT: Multiple --to-destination not supported"); } *cb->target = parse_to(cb->arg, portok, info); /* WTF do we need this for?? */ diff --git a/extensions/libipt_SNAT.c b/extensions/libipt_SNAT.c index 9156a7b7..36910417 100644 --- a/extensions/libipt_SNAT.c +++ b/extensions/libipt_SNAT.c @@ -169,7 +169,7 @@ static void SNAT_parse(struct xt_option_call *cb) get_kernel_version(); if (kernel_version > LINUX_VERSION(2, 6, 10)) xtables_error(PARAMETER_PROBLEM, - "Multiple --to-source not supported"); + "SNAT: Multiple --to-source not supported"); } *cb->target = parse_to(cb->arg, portok, info); /* WTF do we need this for?? */