[netfilter-cvslog] r6622 - trunk/iptables/extensions

kaber at netfilter.org kaber at netfilter.org
Wed May 24 18:25:10 CEST 2006


Author: kaber at netfilter.org
Date: 2006-05-24 18:25:09 +0200 (Wed, 24 May 2006)
New Revision: 6622

Modified:
   trunk/iptables/extensions/libipt_realm.c
Log:
Use lowercase letters for match name (Simon Lodal <simonl at parknet.dk>)


Modified: trunk/iptables/extensions/libipt_realm.c
===================================================================
--- trunk/iptables/extensions/libipt_realm.c	2006-05-24 16:21:57 UTC (rev 6621)
+++ trunk/iptables/extensions/libipt_realm.c	2006-05-24 16:25:09 UTC (rev 6622)
@@ -17,7 +17,7 @@
 help(void)
 {
 	printf(
-"REALM v%s options:\n"
+"realm v%s options:\n"
 " --realm [!] value[/mask]\n"
 "				Match realm\n"
 "\n", IPTABLES_VERSION);
@@ -49,7 +49,7 @@
 		} else
 			realminfo->mask = 0xffffffff;
 		if (*end != '\0' || end == optarg)
-			exit_error(PARAMETER_PROBLEM, "Bad REALM value `%s'", optarg);
+			exit_error(PARAMETER_PROBLEM, "Bad realm value `%s'", optarg);
 		if (invert)
 			realminfo->invert = 1;
 		*flags = 1;
@@ -81,7 +81,7 @@
 	if (ri->invert)
 		printf("! ");
 
-	printf("REALM match ");
+	printf("realm ");
 	print_realm(ri->id, ri->mask);
 }
 
@@ -105,7 +105,7 @@
 {
 	if (!flags)
 		exit_error(PARAMETER_PROBLEM,
-			   "REALM match: You must specify `--realm'");
+			   "realm match: You must specify `--realm'");
 }
 
 static struct iptables_match realm = { NULL,




More information about the netfilter-cvslog mailing list