diff options
author | Phil Sutter <phil@nwl.cc> | 2023-07-21 11:15:15 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-07-28 11:32:41 +0200 |
commit | 405ee2c3fea3ebdb8ac2af183db903c81e78f528 (patch) | |
tree | b894a8e1886757246db79b20c3bd324cad8e5f0d /iptables/nft-shared.c | |
parent | 10583537004f7ecd4aa11f6c12b7ba73fb77fc11 (diff) |
nft: More verbose extension comparison debugging
Dump extension data if it differs.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-shared.c')
-rw-r--r-- | iptables/nft-shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c index 0cd082b5..34ca9d16 100644 --- a/iptables/nft-shared.c +++ b/iptables/nft-shared.c @@ -398,6 +398,8 @@ bool compare_matches(struct xtables_rule_match *mt1, if (memcmp(m1->data, m2->data, cmplen) != 0) { DEBUGP("mismatch match data\n"); + DEBUG_HEXDUMP("m1->data", m1->data, cmplen); + DEBUG_HEXDUMP("m2->data", m2->data, cmplen); return false; } } |