naggie / dsnet

FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.
https://calbryant.uk/blog/how-to-set-up-a-wireguard-vpn-in-minutes-with-dsnet/
MIT License
673 stars 33 forks source link

Failed to add ipv6 addr #35

Closed botto closed 3 years ago

botto commented 3 years ago

This PR fixes an issue with not having the required IPv4 or IPv6 fields set. Where we call up we expected both IPv4 and IPv6 to be set.

So this PR is just the fix for this, however in my mind I'm more inclinced to say neither should be a dependency and instead if you don't include ipv4 or ipv6 config in your dsnetconfig.json file then you just get an interface with no address set and you are responsible for setting it.

naggie commented 3 years ago

Closed as fixed by #36