diff options
author | Linus Nordberg <linus@nordberg.se> | 2019-04-08 21:28:56 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2019-04-08 21:28:56 +0200 |
commit | 5101a7d488b1de68e45b8d350c7c3849ec468895 (patch) | |
tree | 1a42ee108ae0d4b899fb4a4f8e7d071c41a096ec | |
parent | Correct branch name (diff) | |
download | wg-dynamic-ln/poc1.tar.xz wg-dynamic-ln/poc1.zip |
Do blindly honour clients ask for addressesln/poc1
Remove that code we added for testing something once.
-rw-r--r-- | wg-dynamic-server.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wg-dynamic-server.c b/wg-dynamic-server.c index 29c01d3..100ddc9 100644 --- a/wg-dynamic-server.c +++ b/wg-dynamic-server.c @@ -278,12 +278,10 @@ static int allocate_from_pool(struct wg_dynamic_request *const req, while (attr) { switch (attr->key) { case WGKEY_IPV4: - break; /* FIXME */ memcpy(&lease->ip4, attr->value, sizeof(struct wg_combined_ip)); break; case WGKEY_IPV6: - break; /* FIXME */ memcpy(&lease->ip6, attr->value, sizeof(struct wg_combined_ip)); break; |