From f099c2d1a6769d826843f47409223115a3e20801 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Thu, 28 Jun 2018 10:41:36 -0700 Subject: [PATCH] icom mod error --- QnetGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetGateway.cpp b/QnetGateway.cpp index fdb3d2c..884a831 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -263,7 +263,7 @@ bool CQnetGateway::read_config(char *cfgFile) if (0 == strcasecmp(type.c_str(), "icom")) { rptr.mod[m].package_version = ICOM_VERSION; is_icom = true; - } if (0 == strcasecmp(type.c_str(), "dvap")) { + } else if (0 == strcasecmp(type.c_str(), "dvap")) { rptr.mod[m].package_version = DVAP_VERSION; is_not_icom = true; } else if (0 == strcasecmp(type.c_str(), "dvrptr")) {