* [PATCH] libipt_helper
@ 2005-01-02 7:35 Nicolas Bouliane
2005-01-02 23:19 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Bouliane @ 2005-01-02 7:35 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 135 bytes --]
Hi,
This trivial patch prevents from using `--helper` several time, which
case would overwriting previous value.
Cheers :)
-acidfu
[-- Attachment #2: libipt_helper.c.patch --]
[-- Type: text/x-patch, Size: 448 bytes --]
Index: extensions/libipt_helper.c
===================================================================
--- extensions/libipt_helper.c (revision 3540)
+++ extensions/libipt_helper.c (working copy)
@@ -44,6 +44,9 @@
switch (c) {
case '1':
+ if (*flags)
+ exit_error(PARAMETER_PROBLEM,
+ "helper match: Only use --helper ONCE!");
check_inverse(optarg, &invert, &invert, 0);
strncpy(info->name, optarg, 29);
info->name[29] = '\0';
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] libipt_helper
2005-01-02 7:35 [PATCH] libipt_helper Nicolas Bouliane
@ 2005-01-02 23:19 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2005-01-02 23:19 UTC (permalink / raw)
To: Nicolas Bouliane; +Cc: netfilter-devel
Nicolas Bouliane wrote:
> Hi,
>
> This trivial patch prevents from using `--helper` several time, which
> case would overwriting previous value.
Applied, thanks.
Regards
Patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-02 23:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-02 7:35 [PATCH] libipt_helper Nicolas Bouliane
2005-01-02 23:19 ` 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.