From 5bc118af7b442a53564aaad75460a42879bdcb61 Mon Sep 17 00:00:00 2001 From: parkycai Date: Fri, 14 Mar 2025 16:00:11 +0800 Subject: [PATCH] softethervpn5: remove region restriction (#907) --- .../patches/120-remove-region-restriction.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/softethervpn5/patches/120-remove-region-restriction.patch diff --git a/net/softethervpn5/patches/120-remove-region-restriction.patch b/net/softethervpn5/patches/120-remove-region-restriction.patch new file mode 100644 index 00000000..16d87635 --- /dev/null +++ b/net/softethervpn5/patches/120-remove-region-restriction.patch @@ -0,0 +1,12 @@ +diff --git a/src/Cedar/Server.c b/src/Cedar/Server.c +index 1aad0d94..0eba8bfc 100644 +--- a/src/Cedar/Server.c ++++ b/src/Cedar/Server.c +@@ -10749,6 +10749,7 @@ void SiGetCurrentRegion(CEDAR *c, char *region, UINT region_size) + // + bool SiIsEnterpriseFunctionsRestrictedOnOpenSource(CEDAR *c) + { ++ return false; + char region[128]; + bool ret = false; + // Validate arguments