mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 15:18:51 +00:00
Allow trusted paths over global IPs for legacy config format too.
This commit is contained in:
parent
01b4cb64ee
commit
30694f0b20
@ -585,7 +585,7 @@ public:
|
||||
} else break;
|
||||
++fno;
|
||||
}
|
||||
if ( (trustedPathId != 0) && ((trustedPathNetwork.ss_family == AF_INET)||(trustedPathNetwork.ss_family == AF_INET6)) && (trustedPathNetwork.ipScope() != InetAddress::IP_SCOPE_GLOBAL) && (trustedPathNetwork.netmaskBits() > 0) ) {
|
||||
if ( (trustedPathId != 0) && ((trustedPathNetwork.ss_family == AF_INET)||(trustedPathNetwork.ss_family == AF_INET6)) && (trustedPathNetwork.netmaskBits() > 0) ) {
|
||||
ppc[trustedPathNetwork].trustedPathId = trustedPathId;
|
||||
ppc[trustedPathNetwork].mtu = 0; // use default
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user