]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
iface: remove --promiscous flag
authorJan Engelhardt <jengelh@medozas.de>
Sun, 26 Apr 2009 20:21:27 +0000 (22:21 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 26 Apr 2009 20:21:27 +0000 (22:21 +0200)
The spelling is difficult (actually it is "promiscuous"), and one
option should be enough. Keeping --promisc.

extensions/libxt_iface.c

index 55b62fa0117eab07a1e63aa701c5169420ab09aa..cd192a5821c549b55566cb0b1463588b783b38a2 100644 (file)
@@ -28,7 +28,6 @@ static const struct option iface_mt_opts[] = {
        {.name = "noarp",       .has_arg = false, .val = 'n'},
        {.name = "arp",         .has_arg = false, .val = 'N'}, /* not noarp */
        {.name = "promisc",     .has_arg = false, .val = 'o'},
-       {.name = "promiscous",  .has_arg = false, .val = 'o'}, /* eq promisc */
        {.name = "multicast",   .has_arg = false, .val = 'm'},
        {.name = "dynamic",     .has_arg = false, .val = 'd'},
        {.name = "lower_up",    .has_arg = false, .val = 'w'},
@@ -79,8 +78,7 @@ static void iface_mt_help(void)
        "[!] --running\t\t\tmatch if RUNNING flag (not) set\n"
        "[!] --noarp\n"
        "[!] --arp\t\t\tmatch if NOARP flag (not) set\n"
-       "[!] --promisc\n"
-       "[!] --promiscous\t\tmatch if PROMISC flag (not) set\n"
+       "[!] --promisc\t\t\tmatch if PROMISC flag (not) set\n"
        "[!] --multicast\t\tmatch if MULTICAST flag (not) set\n"
        "[!] --dynamic\t\t\tmatch if DYNAMIC flag (not) set\n"
        "[!] --lower_up\t\t\tmatch if LOWER_UP flag (not) set\n"