aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2019-09-30 08:44:34 +0200
committerThomas Gschwantner <tharre3@gmail.com>2019-12-11 06:21:37 +0100
commit4382ba70751a387cfe69fb75c82d5e429147d6d4 (patch)
treedff5c3c639f3a504534de2791bfedd7644129987 /common.h
parentlease: handle allowedips updates and improve API (diff)
downloadwg-dynamic-4382ba70751a387cfe69fb75c82d5e429147d6d4.tar.xz
wg-dynamic-4382ba70751a387cfe69fb75c82d5e429147d6d4.zip
server: add --leasetime as a commandline option
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/common.h b/common.h
index 426ad20..c44e6c7 100644
--- a/common.h
+++ b/common.h
@@ -25,8 +25,6 @@
static const char WG_DYNAMIC_ADDR[] = "fe80::";
static const uint16_t WG_DYNAMIC_PORT = 970; /* ASCII sum of "wireguard" */
-#define WG_DYNAMIC_LEASETIME 10 /* NOTE: 10s is good for testing purposes */
-
#define ITEMS \
E(WGKEY_UNKNOWN, "") /* must be the first entry */ \
/* CMD START */ \