From f6c317710f5aa9c4dab5e5b5f72c71549d256570 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 26 Apr 2009 22:01:30 +0200 Subject: [PATCH] iface: remove version/revision from helptext XTABLES_VERSION does not contain anything meaningful to display. Printing the revision is not of value too, I think. --- extensions/libxt_iface.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/libxt_iface.c b/extensions/libxt_iface.c index 07f9cb7..8b162df 100644 --- a/extensions/libxt_iface.c +++ b/extensions/libxt_iface.c @@ -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,