summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-21 09:12:27 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-08-21 09:37:41 +0200
commitf677e7b10c72bd3007c89d51eea13a0c2c3d262b (patch)
tree17e25c0cc0205b1410a4a09c1f267dbdf0c17478
parent7e66a657d0fbb8a3f27fd78c7bb27859d44002aa (diff)
libxt_dccp: spell out option name on save
This glitch 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@mail.gmail.com> Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r--extensions/libxt_dccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c
index 4de07cca..09ef16e0 100644
--- a/extensions/libxt_dccp.c
+++ b/extensions/libxt_dccp.c
@@ -262,7 +262,7 @@ static void dccp_save(const void *ip, const struct xt_entry_match *match)
}
if (einfo->flags & XT_DCCP_TYPE) {
- printf("%s --dccp-type",
+ printf("%s --dccp-types",
einfo->invflags & XT_DCCP_TYPE ? " !" : "");
print_types(einfo->typemask, false, 0);
}