From d0b85cf10415a378c11d385066bb27116f2c2df1 Mon Sep 17 00:00:00 2001
From: Shahar Hadas <shaharhd@gmail.com>
Date: 周日, 10 5月 2020 19:18:01 +0800
Subject: [PATCH] Fix network detection for Windows OS (#94)

---
 include/licensecc/datatypes.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/licensecc/datatypes.h b/include/licensecc/datatypes.h
index 8a229ea..4f3717b 100644
--- a/include/licensecc/datatypes.h
+++ b/include/licensecc/datatypes.h
@@ -102,11 +102,11 @@
 	 * <pre>
 	 * [feature_xx]
 	 * sig=AAAA
-	 * [bb]
-	 * expiry-date
+	 * [another_feature]
+	 * expiry-date=20201111
 	 * </pre>
 	 */
-	char feature_name[LCC_API_PROJECT_NAME_SIZE +
+	char feature_name[LCC_API_FEATURE_NAME_SIZE +
 					  1];  // name of the feature you' (must correspond to the name in the license)
 	/**
 	 * this number passed in by the application must correspond to the magic number used when compiling the library.
@@ -138,7 +138,7 @@
 	int license_version;  // license file version
 } LicenseInfo;
 
-typedef enum { BARE_TO_METAL, VMWARE, VIRTUALBOX, V_XEN, KVM, HV, V_OTHER } LCC_API_VIRTUALIZATION_DETAIL;
+typedef enum { BARE_TO_METAL, VMWARE, VIRTUALBOX, V_XEN, KVM, HV, PARALLELS, V_OTHER } LCC_API_VIRTUALIZATION_DETAIL;
 
 typedef enum {
 	PROV_UNKNOWN = 0,

--
Gitblit v1.9.1