diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-11-19 10:50:50 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-11-19 10:50:50 -0800 |
commit | 4181d39e3575cc5e9762e22000e52912c31d0989 (patch) | |
tree | 47581c79df691d9b67cadac9d7d9b3fd8056d241 /pcap-linux.c | |
parent | dafc654f7fb5a9eba8c55abb61bb004b9bc060ad (diff) |
Do this the way DLT_LINUX_IRDA and DLT_LINUX_LAPD are handled.
I'm not certain setting handlep->cooked in map_arphrd_to_dlt() will
work. We should look at making that work.
Add comments to indicate what we're doing.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r-- | pcap-linux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index 69097ac7..6c0723ab 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -2604,8 +2604,6 @@ map_packet_type_to_sll_type(short int sll_pkttype) */ static void map_arphrd_to_dlt(pcap_t *handle, int arptype, int cooked_ok) { - struct pcap_linux *handlep = handle->priv; - switch (arptype) { case ARPHRD_ETHER: |