ETHER: Correct reversed supported version check for Npcap
This commit is contained in:
parent
b566ea356f
commit
4fa0eaad99
1 changed files with 1 additions and 1 deletions
|
@ -2704,7 +2704,7 @@ if (!version[0]) {
|
||||||
while (*c && !isdigit (*c))
|
while (*c && !isdigit (*c))
|
||||||
++c;
|
++c;
|
||||||
get_glyph (c, maj_min, ',');
|
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());
|
snprintf(version, sizeof(version), "Unsupported - %s", pcap_lib_version());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue