]> The Tcpdump Group git mirrors - libpcap/commit
Factor assert_maxval() out.
authorDenis Ovsienko <[email protected]>
Fri, 21 Mar 2025 15:59:13 +0000 (15:59 +0000)
committerDenis Ovsienko <[email protected]>
Sat, 22 Mar 2025 17:20:20 +0000 (17:20 +0000)
commit51c3abb6cf380292f8e03d3bd1bd348f5a10a2bd
tree638d12648d6b5d800a2f50c48b2820e78b8adfc3
parent1bebaa7e59b600601e34c8ab32c328cfd086f614
Factor assert_maxval() out.

For ATM, GENEVE, MPLS, MTP, PPPoE, VLAN and VXLAN keywords replace 11
checks and the hard-coded error messages with a function and one
parametrised message.
gencode.c
testprogs/TESTrun