diff options
author | Linus Nordberg <linus@nordberg.se> | 2019-09-30 08:44:34 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2019-10-11 10:34:35 +0200 |
commit | 042bcaf5868b5d3b814ae1877e6d56fde647994f (patch) | |
tree | 5d5300ff4a8686f3a3a940f7cb9f2ee5e16fc02b /common.h | |
parent | [tests] Add test cases for lease handling (diff) | |
download | wg-dynamic-042bcaf5868b5d3b814ae1877e6d56fde647994f.tar.xz wg-dynamic-042bcaf5868b5d3b814ae1877e6d56fde647994f.zip |
[server] Make leasetime a commandline option
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ 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 WG_DYNAMIC_DEFAULT_LEASETIME 3600 #define ITEMS \ E(WGKEY_UNKNOWN, "") /* must be the first entry */ \ |