aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcap-linux.c2
1 files changed, 1 insertions, 1 deletions
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);