All of lore.kernel.org
 help / color / mirror / Atom feed
* [iptables PATCH 2/2] Improve readability of bitwise operation
@ 2011-09-05 20:25 Thomas Jarosch
  2011-09-28 18:54 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Jarosch @ 2011-09-05 20:25 UTC (permalink / raw)
  To: netfilter-devel

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
---
 extensions/libipt_CLUSTERIP.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/libipt_CLUSTERIP.c b/extensions/libipt_CLUSTERIP.c
index 301e0e1..f4b638b 100644
--- a/extensions/libipt_CLUSTERIP.c
+++ b/extensions/libipt_CLUSTERIP.c
@@ -144,7 +144,7 @@ static void CLUSTERIP_print(const void *ip,
 	const struct ipt_clusterip_tgt_info *cipinfo =
 		(const struct ipt_clusterip_tgt_info *)target->data;
 	
-	if (!cipinfo->flags & CLUSTERIP_FLAG_NEW) {
+	if (!(cipinfo->flags & CLUSTERIP_FLAG_NEW)) {
 		printf(" CLUSTERIP");
 		return;
 	}
@@ -164,7 +164,7 @@ static void CLUSTERIP_save(const void *ip, const struct xt_entry_target *target)
 
 	/* if this is not a new entry, we don't need to save target
 	 * parameters */
-	if (!cipinfo->flags & CLUSTERIP_FLAG_NEW)
+	if (!(cipinfo->flags & CLUSTERIP_FLAG_NEW))
 		return;
 
 	printf(" --new --hashmode %s --clustermac %s --total-nodes %d --local-node %d --hash-init %u",
-- 
1.7.4.4


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

* Re: [iptables PATCH 2/2] Improve readability of bitwise operation
  2011-09-05 20:25 [iptables PATCH 2/2] Improve readability of bitwise operation Thomas Jarosch
@ 2011-09-28 18:54 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2011-09-28 18:54 UTC (permalink / raw)
  To: Thomas Jarosch; +Cc: netfilter-devel

On Mon, Sep 05, 2011 at 10:25:39PM +0200, Thomas Jarosch wrote:
> Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>

Also applied, thanks.

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

end of thread, other threads:[~2011-09-28 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-05 20:25 [iptables PATCH 2/2] Improve readability of bitwise operation Thomas Jarosch
2011-09-28 18:54 ` Pablo Neira Ayuso

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.