diff options
author | Linus Nordberg <linus@nordberg.se> | 2019-09-30 08:44:34 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2019-09-30 08:44:34 +0200 |
commit | 29ed5cd5d57dc7a30ca08d45877a0fb2fcfce289 (patch) | |
tree | 9210b856ae150ce38bc5b0deb5c42fa961224386 /common.h | |
parent | [tests] Add test cases for lease handling (diff) | |
download | wg-dynamic-29ed5cd5d57dc7a30ca08d45877a0fb2fcfce289.tar.xz wg-dynamic-29ed5cd5d57dc7a30ca08d45877a0fb2fcfce289.zip |
[server] Make leasetime an optional command line argument
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 */ \ |