All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel De Graaf <danield@iastate.edu>
To: netfilter-devel@lists.netfilter.org
Subject: Re: Correct iptables-save output of osf module
Date: Wed, 29 Mar 2006 08:37:25 -0600	[thread overview]
Message-ID: <442A9BA5.5040108@iastate.edu> (raw)
In-Reply-To: <442A4B72.1020405@trash.net>

[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]

Patrick McHardy wrote:
> Daniel De Graaf wrote:
>   
>> This adds the optional flags for the osf module to the iptables-save output.
>>     
>
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: base64
> Content-Disposition: inline
>
> I can't apply this since my mail client saves it base64 encoded. Please
> resend as plain text.
>   

Sorry, I'll use a real mail client to send patches from now on. Here's
the patch again:

Index: extensions/libipt_osf.c
===================================================================
--- extensions/libipt_osf.c     (revision 6560)
+++ extensions/libipt_osf.c     (working copy)
@@ -134,6 +134,14 @@
        const struct ipt_osf_info *info = (const struct ipt_osf_info*) match->data;

        printf("--genre %s%s ", (info->invert) ? "! ": "", info->genre);
+       if (info->flags & IPT_OSF_SMART)
+               printf("--smart ");
+       if (info->flags & IPT_OSF_LOG)
+               printf("--log %d ", info->loglevel);
+       if (info->flags & IPT_OSF_NETLINK)
+               printf("--netlink ");
+       if (info->flags & IPT_OSF_CONNECTOR)
+               printf("--connector ");
 }




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2006-03-29 14:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-25  4:25 Correct iptables-save output of osf module Daniel De Graaf
2006-03-29  8:55 ` Patrick McHardy
2006-03-29 14:37   ` Daniel De Graaf [this message]

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=442A9BA5.5040108@iastate.edu \
    --to=danield@iastate.edu \
    --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.