]> The Tcpdump Group git mirrors - libpcap/commit
Simplify various error reporting.
authorDenis Ovsienko <[email protected]>
Fri, 21 Mar 2025 12:25:56 +0000 (12:25 +0000)
committerDenis Ovsienko <[email protected]>
Sat, 22 Mar 2025 15:46:33 +0000 (15:46 +0000)
commit879c3738ce3ee3f542e6f744ff0b8d479480e6a6
treeeb4ae813e891d74c1eecb8e5750e9477dddd32e0
parent5f8382bb9c6ffbceae33efd05a58a92a32307b00
Simplify various error reporting.

In gen_linktype() instead of many bpf_error() calls and hard-coded
messages have one catch-all call at the end with one parametrised
message; move the DLT description to the end of the message.  In
gen_proto_abbrev_internal() have one catch-all call at the end with one
parametrised message.  In gen_load_internal() include the keyword in the
error message.
gencode.c