dccp-option tests info->typemask, but it really should look at info->invflags instead. This bug goes back to commit v1.3.4~11. References: Dave Täht via netfilter-devel on 2011-08-20 14:40:11 -0700 References: <CAA93jw6mpDL6rLXM+9SpAhafkDdKoSfhAxU8UM87vUqjuzjYJw@xxxxxxxxxxxxxx> Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> --- extensions/libxt_dccp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c index 4e52b38..a35cabb 100644 --- a/extensions/libxt_dccp.c +++ b/extensions/libxt_dccp.c @@ -272,7 +272,7 @@ static void dccp_save(const void *ip, const struct xt_entry_match *match) if (einfo->flags & XT_DCCP_OPTION) { printf("%s --dccp-option %u", - einfo->typemask & XT_DCCP_OPTION ? " !" : "", + einfo->invflags & XT_DCCP_OPTION ? " !" : "", einfo->option); } } -- 1.7.3.4 -- 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