opnsense-ports/security/softether/files/patch-src__Cedar__Nat.h
Franco Fichtner 5324c7bbaa security/softether: sync with upstream
Taken from: FreeBSD
2017-02-28 07:59:03 +01:00

11 lines
538 B
C

--- src/Cedar/Nat.h.orig 2016-05-03 06:16:53 UTC
+++ src/Cedar/Nat.h
@@ -115,7 +115,7 @@
#define NAT_H
// Constants
-#define NAT_CONFIG_FILE_NAME "@vpn_router.config" // NAT configuration file
+#define NAT_CONFIG_FILE_NAME "/var/db/softether/vpn_router.config" // NAT configuration file
#define DEFAULT_NAT_ADMIN_PORT 2828 // Default port number for management
#define NAT_ADMIN_PORT_LISTEN_INTERVAL 1000 // Interval for trying to open a port for management
#define NAT_FILE_SAVE_INTERVAL (30 * 1000) // Interval to save