diff options
Diffstat (limited to 'pcap-linux.c')
-rw-r--r-- | pcap-linux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index 6c0723ab..69097ac7 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -2604,6 +2604,8 @@ 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: |