From: Simon Lodal <simonl@parknet.dk>
To: Netfilter Developer <netfilter-devel@lists.netfilter.org>
Subject: [PATCH 1/2] Realm verbosity
Date: Sun, 21 May 2006 18:13:15 +0200 [thread overview]
Message-ID: <200605211813.15957.simonl@parknet.dk> (raw)
[-- 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,
next reply other threads:[~2006-05-21 16:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-21 16:13 Simon Lodal [this message]
2006-05-24 16:03 ` [PATCH 1/2] Realm verbosity Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200605211813.15957.simonl@parknet.dk \
--to=simonl@parknet.dk \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.