]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix tpo.
authorGuy Harris <[email protected]>
Fri, 28 Jun 2019 06:37:01 +0000 (23:37 -0700)
committerGuy Harris <[email protected]>
Fri, 28 Jun 2019 06:37:01 +0000 (23:37 -0700)
pcap-linux.c

index 0f7e47d53f32b84184bcbc6c52d1f997bd89e3ee..6f1eb642103c543e92c9c49b5741acb561a9269e 100644 (file)
@@ -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);