Some output at startup

This commit is contained in:
Neil Alexander 2018-11-06 11:56:32 +00:00
parent f0947223bb
commit bc578f571c
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 3 additions and 0 deletions

View file

@ -86,6 +86,7 @@ func (c *cryptokey) addSourceSubnet(cidr string) error {
// Add the source subnet
c.ipv6sources = append(c.ipv6sources, *ipnet)
c.core.log.Println("Added CKR source subnet", cidr)
return nil
}
@ -138,6 +139,7 @@ func (c *cryptokey) addRoute(cidr string, dest string) error {
delete(c.ipv6cache, k)
}
c.core.log.Println("Added CKR destination subnet", cidr)
return nil
}
} else if prefixsize == net.IPv4len*8 {