As security/softether and -devel are created and maintained by different people for a long time, there was a lot of difference between and no consistency between both ports. I grab both ports and renew this port based on security/softether. Now there're least differences such as VERSION, COMMENT, CONFLICTS between both. To make both ports consistent, I quit fetching from GitHub. Using upstream site[1] instead. Upstream distributes -rtm and -beta suffixed tarballs. -rtm corresponds to security/softether, -beta does to security/softether-devel now. [1] https://www.softether-download.com/ Approved by: mentors (implicit)
12 lines
538 B
C
12 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
|