]> The Tcpdump Group git mirrors - tcpdump/commit
Replace '> 0' with '!= 0' in some unsigned expression tests
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 26 Feb 2024 18:41:37 +0000 (19:41 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 28 Feb 2024 09:16:14 +0000 (10:16 +0100)
commit07e0b558f42fcdb78e7410177b66c004e430c83b
treef814fcfab1fac4cc7b9f0378b836f866efa33a09
parentf72136796d3a0277e6a9e1d80db252659df7d06c
Replace '> 0' with '!= 0' in some unsigned expression tests

Unsigned is always >= 0, so '> 0' and '!= 0' are identical.

This makes the tests a little clearer.
26 files changed:
print-arp.c
print-ascii.c
print-bootp.c
print-cdp.c
print-cfm.c
print-dvmrp.c
print-eigrp.c
print-geneve.c
print-icmp.c
print-isoclns.c
print-ldp.c
print-lldp.c
print-lmp.c
print-nflog.c
print-ospf6.c
print-pim.c
print-radius.c
print-resp.c
print-rpki-rtr.c
print-rsvp.c
print-sflow.c
print-slow.c
print-snmp.c
print-tcp.c
print-vtp.c
util-print.c