diff --git a/src/yggdrasil/ckr.go b/src/yggdrasil/ckr.go index f24cd9d5..0e195fd3 100644 --- a/src/yggdrasil/ckr.go +++ b/src/yggdrasil/ckr.go @@ -96,6 +96,12 @@ func (c *cryptokey) addRoute(cidr string, dest string) error { } func (c *cryptokey) getPublicKeyForAddress(addr address) (boxPubKey, error) { + // Check if the address is a valid Yggdrasil address - if so it + // is exempt from all CKR checking + if addr.isValid() { + return + } + // Check if there's a cache entry for this addr if route, ok := c.ipv6cache[addr]; ok { var box boxPubKey