mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
Fix reporting of secondaryPort and tertiaryPort See: #2039
This commit is contained in:
parent
5b5ef07350
commit
230ae6bd16
@ -1056,7 +1056,7 @@ public:
|
||||
if (_secondaryPort) {
|
||||
_ports[1] = _secondaryPort;
|
||||
} else {
|
||||
_ports[1] = _getRandomPort();
|
||||
_ports[1] = _secondaryPort = _getRandomPort();
|
||||
}
|
||||
}
|
||||
#ifdef ZT_USE_MINIUPNPC
|
||||
@ -1067,7 +1067,7 @@ public:
|
||||
if (_tertiaryPort) {
|
||||
_ports[2] = _tertiaryPort;
|
||||
} else {
|
||||
_ports[2] = _getRandomPort();
|
||||
_ports[2] = _tertiaryPort = _getRandomPort();
|
||||
}
|
||||
|
||||
if (_ports[2]) {
|
||||
|
Loading…
Reference in New Issue
Block a user