]> The Tcpdump Group git mirrors - tcpdump/commit
Use #defines rather than sizeof.
authorGuy Harris <[email protected]>
Mon, 8 Feb 2010 00:05:46 +0000 (16:05 -0800)
committerGuy Harris <[email protected]>
Mon, 8 Feb 2010 00:05:46 +0000 (16:05 -0800)
commit7906cae611d51d4840495cd5a6861800b76ee6d2
tree1b8e59c6ccf99142296fe33dbc94f252352d9d06
parent2a7e2246c7266f4c99922cc2970c207bb545cec5
Use #defines rather than sizeof.

Use ForCES_HDRL, TLV_HDRL, and ILV_HDRL instead of various sizeof's, to
make it clearer what certain tests ensure are true (as, in other cases,
the #defines are subtracted from values that should be, at that point,
ensured not to be less than the #define in question).
forces.h
print-forces.c