Skip to contentSkip to conversation

conntrack match typo

PATCH Applied Phil Oester 2 participants 2 messages Aug 21, 2004 – Aug 23, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conntrack match typo

Status option should use IPT_CONNTRACK_STATUS, not IPT_CONNTRACK_STATE. Originally noticed by M. J. Pomraning.

This fixes bug #194

Phil

extensions/libipt_conntrack.c 2004-08-21 17:51:05.507406408 -0400 renamed from extensions/libipt_conntrack.c 2004-06-14 18:02:17.000000000 -0400 +1 -1
diff -ru ipt-orig/extensions/libipt_conntrack.c ipt-new/extensions/libipt_conntrack.c
@@ -492,7 +492,7 @@
 
        if(sinfo->flags & IPT_CONNTRACK_STATUS) {
                printf("%sctstatus ", optpfx);
-               if (sinfo->invflags & IPT_CONNTRACK_STATE)
+               if (sinfo->invflags & IPT_CONNTRACK_STATUS)
                        printf("! ");
                print_status(sinfo->statusmask);
        }
#1 lore raw
Quoted 6 lines · Phil Oester

Status option should use IPT_CONNTRACK_STATUS, not IPT_CONNTRACK_STATE. Originally noticed by M. J. Pomraning.

This fixes bug #194

Applied, thanks.

Regards
Patrick

Quoted 18 lines

Phil

diff -ru ipt-orig/extensions/libipt_conntrack.c ipt-new/extensions/libipt_conntrack.c

extensions/libipt_conntrack.c 2004-08-21 17:51:05.507406408 -0400 renamed from extensions/libipt_conntrack.c 2004-06-14 18:02:17.000000000 -0400 +1 -1
@@ -492,7 +492,7 @@
 
       if(sinfo->flags & IPT_CONNTRACK_STATUS) {
               printf("%sctstatus ", optpfx);
-               if (sinfo->invflags & IPT_CONNTRACK_STATE)
+               if (sinfo->invflags & IPT_CONNTRACK_STATUS)
                       printf("! ");
               print_status(sinfo->statusmask);
       }