From 5d5177c406a8737ca86bde809afd56b5172e2853 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 30 Aug 2016 04:35:51 +0200 Subject: tools: allow multiple AllowedIPs invocations It turns out this is a somewhat natural thing to do in config files. --- src/tools/config.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/tools/config.c') 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); -- cgit v1.2.3-59-g8ed1b