From 91330df37cbcd08b5a56fe21395cf496fbe73fe8 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sun, 2 Sep 2007 13:09:07 +0000 Subject: [PATCH]: Remove last vestiges of NFC (Peter Riley ) --- libiptc/libip4tc.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libiptc/libip4tc.c') diff --git a/libiptc/libip4tc.c b/libiptc/libip4tc.c index a0cdc2f..71af17f 100644 --- a/libiptc/libip4tc.c +++ b/libiptc/libip4tc.c @@ -148,10 +148,7 @@ dump_entry(STRUCT_ENTRY *e, const TC_HANDLE_T handle) printf("Invflags: %02X\n", e->ip.invflags); printf("Counters: %llu packets, %llu bytes\n", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); - printf("Cache: %08X ", e->nfcache); - if (e->nfcache & NFC_ALTERED) printf("ALTERED "); - if (e->nfcache & NFC_UNKNOWN) printf("UNKNOWN "); - printf("\n"); + printf("Cache: %08X\n", e->nfcache); IPT_MATCH_ITERATE(e, print_match); @@ -204,8 +201,7 @@ is_same(const STRUCT_ENTRY *a, const STRUCT_ENTRY *b, unsigned char *matchmask) return NULL; } - if (a->nfcache != b->nfcache - || a->target_offset != b->target_offset + if (a->target_offset != b->target_offset || a->next_offset != b->next_offset) return NULL; -- cgit v1.2.3