* [PATCH 1/2] Realm verbosity
@ 2006-05-21 16:13 Simon Lodal
2006-05-24 16:03 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Simon Lodal @ 2006-05-21 16:13 UTC (permalink / raw)
To: Netfilter Developer
[-- Attachment #1: Type: text/plain, Size: 73 bytes --]
The realm match should identify itself in lowercase like other matches.
[-- Attachment #2: realm_verbosity.diff --]
[-- Type: text/x-diff, Size: 1054 bytes --]
Index: iptables-1.3.5/extensions/libipt_realm.c
===================================================================
--- iptables-1.3.5/extensions/libipt_realm.c (revision 4)
+++ iptables-1.3.5/extensions/libipt_realm.c (revision 5)
@@ -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,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] Realm verbosity
2006-05-21 16:13 [PATCH 1/2] Realm verbosity Simon Lodal
@ 2006-05-24 16:03 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2006-05-24 16:03 UTC (permalink / raw)
To: Simon Lodal; +Cc: Netfilter Developer
Simon Lodal wrote:
> The realm match should identify itself in lowercase like other matches.
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-24 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-21 16:13 [PATCH 1/2] Realm verbosity Simon Lodal
2006-05-24 16:03 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.