]> The Tcpdump Group git mirrors - tcpdump/commit
"(x == A) ^ (x == B)", if A != B, is equivalent to
authorguy <guy>
Thu, 1 May 2003 18:04:41 +0000 (18:04 +0000)
committerguy <guy>
Thu, 1 May 2003 18:04:41 +0000 (18:04 +0000)
commit55b8517e11ebc55123aa547fa9fae51c0bad4211
treeae6a9a06ab9e3b574c1f662ebb817c891b4443ef
parent0661474e3ea3d3a1f77a7f8df39ce7c0a1f1ddc3
"(x == A) ^ (x == B)", if A != B, is equivalent to
"(x == A) || (x == B)", as x cannot simultaneously be equal to A and B.

"x == A ^ x == B" produces a compiler warning from GCC, so fix it by
using || instead - "x == A || x == B" doesn't produce such a warning.
print-isoclns.c