]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_dccp: spell out option name on save
authorJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 07:12:27 +0000 (09:12 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 07:37:41 +0000 (09:37 +0200)
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>
extensions/libxt_dccp.c

index 4de07cca2bbc8ce848232dceb4ac929af0a804f6..09ef16e023c000df6877e5114011421ddfa2db86 100644 (file)
@@ -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);
        }