X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/e5721e93749a94d07957aaa6dd8fe284aa42fb5a..94dfe9f2fe7abcd306ec67b7c8a44cbc7e6b1f75:/pcap-linux.c?ds=inline 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);