diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-08-30 04:35:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-08-30 04:35:51 +0200 |
commit | 5d5177c406a8737ca86bde809afd56b5172e2853 (patch) | |
tree | a8ad3bf66f2827e0e95451f56a06b070f4618be4 /src/tools | |
parent | send: properly encapsulate ECN (diff) | |
download | wireguard-monolithic-historical-5d5177c406a8737ca86bde809afd56b5172e2853.tar.xz wireguard-monolithic-historical-5d5177c406a8737ca86bde809afd56b5172e2853.zip |
tools: allow multiple AllowedIPs invocations
It turns out this is a somewhat natural thing to do in config files.
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/config.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/config.c b/src/tools/config.c index d307007..24296f8 100644 --- a/src/tools/config.c +++ b/src/tools/config.c @@ -213,7 +213,6 @@ static inline bool parse_ipmasks(struct inflatable_device *buf, size_t peer_offs return false; }; peer = peer_from_offset(buf->dev, peer_offset); - peer->num_ipmasks = 0; peer->replace_ipmasks = true; if (!strlen(value)) { free(mutable); |