diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2021-09-09 17:51:12 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2021-11-03 14:58:53 +0100 |
commit | 29ff79c0a2a95abf50b78dd2be6ead2abeeaec9f (patch) | |
tree | 7212b84b5da88119279a34b04acf1001d850498b | |
parent | d96f8d304c872b21070245c1b6aacc8b1f5da697 (diff) |
net: relay CJDNS addresses even if we are not connected to CJDNS
This will help with propagation, so that multi-homed nodes can learn
CJDNS addresses outside of the CJDNS network.
-rw-r--r-- | src/netaddress.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.h b/src/netaddress.h index f074c1d3ec..b0b1c5ca9e 100644 --- a/src/netaddress.h +++ b/src/netaddress.h @@ -224,7 +224,7 @@ public: */ bool IsRelayable() const { - return IsIPv4() || IsIPv6() || IsTor() || IsI2P(); + return IsIPv4() || IsIPv6() || IsTor() || IsI2P() || IsCJDNS(); } /** |