mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Allow trusted paths over global IPs for legacy config format too.
This commit is contained in:
parent
01b4cb64ee
commit
30694f0b20
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue