ETHER: Correct reversed supported version check for Npcap

This commit is contained in:
Mark Pizzolato 2022-03-12 14:28:24 -08:00
parent b566ea356f
commit 4fa0eaad99

View file

@ -2704,7 +2704,7 @@ if (!version[0]) {
while (*c && !isdigit (*c))
++c;
get_glyph (c, maj_min, ',');
if (strcmp ("0.9990", maj_min) < 0)
if (strcmp ("0.9990", maj_min) > 0)
snprintf(version, sizeof(version), "Unsupported - %s", pcap_lib_version());
}
}