]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix tpo. libpcap-1.3.0
authorGuy Harris <[email protected]>
Sun, 10 Jun 2012 19:00:59 +0000 (12:00 -0700)
committerGuy Harris <[email protected]>
Sun, 10 Jun 2012 19:00:59 +0000 (12:00 -0700)
pcap-linux.c

index 8d131cf1cf13430327a257dad7be34563d025f08..8168e474778d9e9a7dc8d62216e69cf418c657ec 100644 (file)
@@ -430,7 +430,7 @@ pcap_create(const char *device, char *ebuf)
 
 #ifdef PCAP_SUPPORT_CAN
        if ((strncmp(device, "can", 3) == 0 && isdigit(device[3])) ||
-           (strncmp(device, "vcan", 4) == 0 && isigit(device[4]))) {
+           (strncmp(device, "vcan", 4) == 0 && isdigit(device[4]))) {
                return can_create(device, ebuf);
        }
 #endif