diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 85f2f5c65..5b58639ba 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -1571,7 +1571,7 @@ bool option2bool(String option, String value) { String bool2option(String option, bool b) { String res; - if (option.startsWith('enable-')) { + if (option.startsWith('enable-') && option != kOptionEnableUdpPunch && option != kOptionEnableIpv6Punch) { res = b ? defaultOptionYes : 'N'; } else if (option.startsWith('allow-') || option == kOptionStopService ||