All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Oester <kernel@linuxace.com>
To: Pablo Neira <pablo@eurodev.net>
Cc: Netfilter Development Mailinglist
	<netfilter-devel@lists.netfilter.org>,
	Patrick McHardy <kaber@trash.net>
Subject: Re: [PATCH] convert mport to multiport
Date: Sun, 26 Sep 2004 16:27:38 -0700	[thread overview]
Message-ID: <20040926232738.GB2201@linuxace.com> (raw)
In-Reply-To: <415748E8.60000@eurodev.net>

On Mon, Sep 27, 2004 at 12:55:36AM +0200, Pablo Neira wrote:
> Hi Patrick,
> 
> Attached a patch that puts mport and multiport together. It applies to 
> latest bk snapshot.
> 
> I've also added some clean ups like the use of  a count var inside the 
> ipt_multiport instead of using 65535 and the pflag set to mark the end 
> of the array of ports. I've tested and it works fine for me.
> 
> Also attached the patch for iptables and man page. If missing something, 
> please let me know.
> 
> regards,
> Pablo

Pablo - 

first of all, thanks for doing this -- it will come in handy in my scripts.

Minor nit:

@@ -146,6 +161,10 @@
                exit_error(PARAMETER_PROBLEM,
                           "multiport does not support invert");

+       if (invert)             
+               exit_error(PARAMETER_PROBLEM,
+                          "multiport does not support invert");
+       
        if (*flags)
                exit_error(PARAMETER_PROBLEM,
                           "multiport can only have one option");

this hunk looks redundant.


Phil

  parent reply	other threads:[~2004-09-26 23:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-26 22:55 [PATCH] convert mport to multiport Pablo Neira
2004-09-26 23:23 ` Pablo Neira
2004-09-26 23:36   ` Patrick McHardy
2004-09-26 23:50     ` Pablo Neira
2004-09-27  1:29       ` Pablo Neira
2004-09-27  1:44         ` Pablo Neira
2004-09-26 23:27 ` Phil Oester [this message]
2004-09-26 23:37   ` Pablo Neira

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=20040926232738.GB2201@linuxace.com \
    --to=kernel@linuxace.com \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=pablo@eurodev.net \
    /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.