Let the CLI prevent adding incorrect Subnets.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 26 Jul 2021 13:06:06 +0000 (15:06 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 26 Jul 2021 13:33:31 +0000 (15:33 +0200)
We did a sanitiy check when trying to add a Subnet, but we only printed
an error message, we still added the incorrect Subnet. This change
ensures we abort with a non-zero exit code.


No differences found