From 4fa0eaad9920c0fafd4c27347d1c3c0089067d37 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 12 Mar 2022 14:28:24 -0800 Subject: [PATCH] ETHER: Correct reversed supported version check for Npcap --- sim_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_ether.c b/sim_ether.c index d2d0ae0c..041b7e1f 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -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()); } }