mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-21 07:03:18 +03:00
fix punch option for non-public
This commit is contained in:
@@ -1571,7 +1571,7 @@ bool option2bool(String option, String value) {
|
|||||||
|
|
||||||
String bool2option(String option, bool b) {
|
String bool2option(String option, bool b) {
|
||||||
String res;
|
String res;
|
||||||
if (option.startsWith('enable-')) {
|
if (option.startsWith('enable-') && option != kOptionEnableUdpPunch && option != kOptionEnableIpv6Punch) {
|
||||||
res = b ? defaultOptionYes : 'N';
|
res = b ? defaultOptionYes : 'N';
|
||||||
} else if (option.startsWith('allow-') ||
|
} else if (option.startsWith('allow-') ||
|
||||||
option == kOptionStopService ||
|
option == kOptionStopService ||
|
||||||
|
|||||||
Reference in New Issue
Block a user