]> The Tcpdump Group git mirrors - libpcap/commit
Use gen_cmp_le() directly where it fits.
authorDenis Ovsienko <[email protected]>
Sun, 9 Mar 2025 14:59:08 +0000 (14:59 +0000)
committerDenis Ovsienko <[email protected]>
Sun, 9 Mar 2025 15:03:53 +0000 (15:03 +0000)
commit798e270e9d3bd8ad47e080fa8650ea3a074c386e
treee0b054a93b37dadddbe24eac376a0bf6bcbd6815
parentf901282007f8b8638a44d1db660f11ffc3ea3a6b
Use gen_cmp_le() directly where it fits.

The opposite of "greater than" is "less or equal".  Update two comments
to spell the edge case right (it is either > ETHERMTU or <= ETHERMTU).
This generates exactly the same filter program, hence there is no change
to the tests.
gencode.c