]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
iface: remove version/revision from helptext
authorJan Engelhardt <jengelh@medozas.de>
Sun, 26 Apr 2009 20:01:30 +0000 (22:01 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 26 Apr 2009 20:01:30 +0000 (22:01 +0200)
XTABLES_VERSION does not contain anything meaningful to display.
Printing the revision is not of value too, I think.

extensions/libxt_iface.c

index 07f9cb7b66b410d49cdeae010128eb3d55332e3a..8b162dfbc625aca5075e8e04f40d0d8bb9f5002a 100644 (file)
@@ -68,7 +68,7 @@ static bool iface_valid_name(const char *name)
 static void iface_mt_help(void)
 {
        printf(
-       _MODULE_NAME " match v%s rev:%#2x options:\n"
+       _MODULE_NAME " match options:\n"
        "    --iface interface\t\tName of interface\n"
        "[!] --up\n"
        "[!] --down\t\t\tmatch if UP flag (not) set\n"
@@ -84,8 +84,7 @@ static void iface_mt_help(void)
        "[!] --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"
-       "[!] --dormant\t\t\tmatch if DORMANT flag (not) set\n",
-       XTABLES_VERSION, _MODULE_REVISION);
+       "[!] --dormant\t\t\tmatch if DORMANT flag (not) set\n");
 }
 
 static int iface_mt_parse(int c, char **argv, int invert, unsigned int *flags,