summaryrefslogtreecommitdiffstats
path: root/src/exthdr.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-02-04 15:58:25 +0100
committerPhil Sutter <phil@nwl.cc>2021-11-30 14:57:46 +0100
commit38f1546ff34ae93d15caf5d003951aeb184a0396 (patch)
tree24a2084b1e564a7b528c1b5d86afec8987daff53 /src/exthdr.c
parent443503f53530c3829e7805018b3f7b55e6dcd3c4 (diff)
tests/py: Avoid duplicate records in *.got files
If payloads don't contain family-specific bits, they may sit in a single *.payload file for all tested families. In such case, nft-test.py will consequently write dissenting payloads into a single *.got file. To avoid the duplicate entries, check if a matching record exists already before writing it out. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/exthdr.c')
0 files changed, 0 insertions, 0 deletions