From 232f940dbd956cfac691f9f9448714d8c218ae34 Mon Sep 17 00:00:00 2001 From: jj Date: Wed, 12 Nov 2025 21:41:07 +0100 Subject: [PATCH] ungoogled/existing-switches: fix webrtc switch flag values (#426) fixes #425 --- .../add-flags-for-existing-switches.patch | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch index 7ca52fae..de2d340f 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch @@ -15,7 +15,7 @@ #include "build/chromeos_buildflags.h" --- /dev/null +++ b/chrome/browser/existing_switch_flag_choices.h -@@ -0,0 +1,19 @@ +@@ -0,0 +1,21 @@ +// Copyright (c) 2023 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE.ungoogled_chromium file. @@ -24,15 +24,17 @@ +#define CHROME_BROWSER_EXISTING_SWITCH_FLAG_CHOICES_H_ +const FeatureEntry::Choice kWebRTCIPPolicy[] = { + {"Default public interface only", -+ "webrtc-ip-handling-policy", -+ "default_public_interface_only"}, ++ "", ++ ""}, + {"Default", + "webrtc-ip-handling-policy", + "default"}, + {"Default public and private interfaces", + "webrtc-ip-handling-policy", + "default_public_and_private_interfaces"}, -+ {"Disable non proxied udp", "", ""}, ++ {"Disable non proxied udp", ++ "webrtc-ip-handling-policy", ++ "disable_non_proxied_udp"}, +}; +#endif // CHROME_BROWSER_EXISTING_SWITCH_FLAG_CHOICES_H_ --- /dev/null