Skip to contentSkip to conversation

iptables: cleanup FIXME

PATCH In review Michael Estner 2 participants 2 messages May 23, 2024 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iptables: cleanup FIXME

Remove obsolet FIXME since struct ebt_entry has no flags var. Update the debug output.

---
 iptables/nft-bridge.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
iptables/nft-bridge.c +1 -2
index 922ce983..f5deaa93 100644
@@ -373,9 +373,8 @@ static bool nft_bridge_is_same(const struct iptables_command_state *cs_a,
 	int i;
 
 	if (a->ethproto != b->ethproto ||
-	    /* FIXME: a->flags != b->flags || */
 	    a->invflags != b->invflags) {
-		DEBUGP("different proto/flags/invflags\n");
+		DEBUGP("different proto/invflags\n");
 		return false;
 	}
 

--
2.25.1

reviewer
#1 lore raw
Quoted 2 lines · Michael Estner

Remove obsolet FIXME since struct ebt_entry has no flags var. Update the debug output.

It never had, but there's bitmask and I wonder if it should compare those values instead.

Cheers, Phil