Support IPv4 in ckr.go

This commit is contained in:
Neil Alexander 2018-11-06 20:04:49 +00:00
parent cb7a5f17d9
commit 424faa1c51
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
4 changed files with 113 additions and 67 deletions

View file

@ -42,4 +42,6 @@ type TunnelRouting struct {
Enable bool `comment:"Enable or disable tunneling."`
IPv6Destinations map[string]string `comment:"IPv6 subnets, mapped to the EncryptionPublicKey to which they should\nbe routed to."`
IPv6Sources []string `comment:"Optional IPv6 subnets which are allowed to be used as source addresses\nin addition to this node's Yggdrasil address/subnet."`
IPv4Destinations map[string]string `comment:"IPv4 subnets, mapped to the EncryptionPublicKey to which they should\nbe routed to."`
IPv4Sources []string `comment:"Optional IPv4 subnets which are allowed to be used as source addresses."`
}