From: Guy Harris Date: Fri, 28 Jun 2019 06:37:01 +0000 (-0700) Subject: Fix tpo. X-Git-Tag: libpcap-1.10-bp~477 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/94dfe9f2fe7abcd306ec67b7c8a44cbc7e6b1f75 Fix tpo. --- diff --git a/pcap-linux.c b/pcap-linux.c index 0f7e47d5..6f1eb642 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -3937,7 +3937,7 @@ activate_new(pcap_t *handle, int is_any_device) handle->linktype != DLT_LINUX_LAPD && handle->linktype != DLT_NETLINK) handle->linktype = DLT_LINUX_SLL; - if (handle->linkype == -1) { + if (handle->linktype == -1) { pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "unknown arptype %d, defaulting to cooked mode", arptype);