wireguard: assume /32 or /128 if no CIDR is given
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 7 Jul 2017 14:17:07 +0000 (16:17 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 7 Jul 2017 14:19:50 +0000 (16:19 +0200)
commit4d0d9ac3f9640aa082a207cb779e0018ec3013fb
tree0fbc60fef80c5a7fc4b6756509f503a3a7859e0b
parent54f9e45fcab36b3b296715341d640f761e3fce87
wireguard: assume /32 or /128 if no CIDR is given

This brings the route_allowed_ips option into parity with the addresses
option, which makes these same assumption. The parsing selection is made
to be identical between these two settings.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
net/wireguard/files/wireguard.sh