aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-07-28 15:28:54 -0700
committerGuy Harris <guy@alum.mit.edu>2014-07-28 15:28:54 -0700
commitff08eb4d2be632d42cd9f15a978ac19d7a8b8c3d (patch)
treef8c8508f4030a382588c7a250c20fadf795799a4 /pcap-linux.c
parent4b4e2d73604b0d1826d443785c06558b1a26c385 (diff)
Don't crash on filters testing a non-existent link-layer type field.
Instead, generate an error indicating that the link-layer type filtering isn't implemented for that link-layer header type, just as we already do for some types. That way, we don't punish programs, or their users, for not knowing (or caring) that a given link-layer header type doesn't have a way to determine the protocol running atop that link-layer header type.
Diffstat (limited to 'pcap-linux.c')
0 files changed, 0 insertions, 0 deletions