]> The Tcpdump Group git mirrors - tcpdump/commit
BGP: Replace '> 0' with '!= 0' in an unsigned expression test
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 26 Feb 2024 14:14:03 +0000 (15:14 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 26 Feb 2024 14:14:26 +0000 (15:14 +0100)
commit52f059281da2f476a7e2dbff3fe39800507264c3
treeac864163ade4b95ab98e34ce58a76cdfee6677cb
parent0b41e6ab9c0e1928c1d68743a2e51c178d877246
BGP: Replace '> 0' with '!= 0' in an unsigned expression test

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

This makes the test a little clearer.
print-bgp.c