aboutsummaryrefslogtreecommitdiffstats
path: root/wg-dynamic-server.c
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2019-12-11 03:58:04 +0100
committerThomas Gschwantner <tharre3@gmail.com>2019-12-11 06:22:17 +0100
commitf10e95340d9b99942fc594b642c4afcd829beed9 (patch)
tree329d5e2a827e8f0a6ac9ac214c9a14e1d7dca3af /wg-dynamic-server.c
parentPostpone freeing memory for leases until after updating allowedips (diff)
downloadwg-dynamic-f10e95340d9b99942fc594b642c4afcd829beed9.tar.xz
wg-dynamic-f10e95340d9b99942fc594b642c4afcd829beed9.zip
Change request_ip protocol
ipv4 and ipv6 keys have been combined into one common key, ip. To distinguish between multiple IPs in later versions ip=0.0.0.0/32 and ip=::/128 respectively now mean we want to be assigned a random address from the server. Releasing/not wanting an IP is now done by just not listing that IP, i.e. if we only wanted an (random) ipv4 address the request would look as follows: request_ip=1 ip=0.0.0.0/32
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions