netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CONNMARK 0xffffffff patch
@ 2009-11-04 12:13 Jan Engelhardt
  2009-11-04 12:15 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2009-11-04 12:13 UTC (permalink / raw)
  To: kaber; +Cc: Netfilter Developer Mailing List

Hi Patrick,


I just saw your patch to libxt_MARK.c and remembered that CONNMARK needs 
the same.



The following changes since commit 3d915e1ac610bce44250b4aea556f4726387388d:
  Patrick McHardy (1):
        MARK: print mark rules with mask 0xffffffff as --set-mark instead of --set-xmark

are available in the git repository at:

  git://dev.medozas.de/iptables master

Jan Engelhardt (1):
      CONNMARK: print mark rules with mask 0xffffffff as set instead of xset

 extensions/libxt_CONNMARK.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

-----

parent 3d915e1ac610bce44250b4aea556f4726387388d (v1.4.5-22-g3d915e1)
commit 5fdf032a02b671bc1a18cec0e803c17c64175ab1
Author: Jan Engelhardt <jengelh@medozas.de>
Date:   Wed Nov 4 13:10:50 2009 +0100

CONNMARK: print mark rules with mask 0xffffffff as set instead of xset

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 extensions/libxt_CONNMARK.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/extensions/libxt_CONNMARK.c b/extensions/libxt_CONNMARK.c
index 3cf62f0..1951e67 100644
--- a/extensions/libxt_CONNMARK.c
+++ b/extensions/libxt_CONNMARK.c
@@ -312,6 +312,8 @@ connmark_tg_print(const void *ip, const struct xt_entry_target *target,
 			printf("CONNMARK or 0x%x ", info->ctmark);
 		else if (info->ctmask == 0)
 			printf("CONNMARK xor 0x%x ", info->ctmark);
+		else if (info->ctmask == 0xFFFFFFFFU)
+			printf("CONNMARK set 0x%x ", info->ctmark);
 		else
 			printf("CONNMARK xset 0x%x/0x%x ",
 			       info->ctmark, info->ctmask);
-- 
# Created with git-export-patch

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: CONNMARK 0xffffffff patch
  2009-11-04 12:13 CONNMARK 0xffffffff patch Jan Engelhardt
@ 2009-11-04 12:15 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2009-11-04 12:15 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Netfilter Developer Mailing List

Jan Engelhardt wrote:
> Hi Patrick,
> 
> 
> I just saw your patch to libxt_MARK.c and remembered that CONNMARK needs 
> the same.
> 
> 
> 
> The following changes since commit 3d915e1ac610bce44250b4aea556f4726387388d:
>   Patrick McHardy (1):
>         MARK: print mark rules with mask 0xffffffff as --set-mark instead of --set-xmark
> 
> are available in the git repository at:
> 
>   git://dev.medozas.de/iptables master
> 
> Jan Engelhardt (1):
>       CONNMARK: print mark rules with mask 0xffffffff as set instead of xset
> 
>  extensions/libxt_CONNMARK.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Pulled and pushed out again, thanks Jan.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-04 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 12:13 CONNMARK 0xffffffff patch Jan Engelhardt
2009-11-04 12:15 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).