[gnome-control-center] network: Fix broken logic
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Fix broken logic
- Date: Fri, 17 Jul 2020 01:40:24 +0000 (UTC)
commit 36196e422f20f32425d4fc2e21b0ed8d8ebbcd49
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Jul 17 13:39:30 2020 +1200
network: Fix broken logic
Was introduced in ed15c1a2f0817a0b4d7cc20c35cfcf63caf75bfe
panels/network/connection-editor/ce-page-ip6.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/connection-editor/ce-page-ip6.c b/panels/network/connection-editor/ce-page-ip6.c
index c6a1d12953..c6efe4a78e 100644
--- a/panels/network/connection-editor/ce-page-ip6.c
+++ b/panels/network/connection-editor/ce-page-ip6.c
@@ -498,8 +498,8 @@ connect_ip6_page (CEPageIP6 *self)
method = IP6_METHOD_MANUAL;
} else if (g_strcmp0 (str_method, NM_SETTING_IP6_CONFIG_METHOD_SHARED) == 0) {
method = IP6_METHOD_SHARED;
- } else if (g_strcmp0 (str_method, NM_SETTING_IP6_CONFIG_METHOD_DISABLED ||
- g_strcmp0 (str_method, NM_SETTING_IP6_CONFIG_METHOD_IGNORE)) == 0) {
+ } else if (g_strcmp0 (str_method, NM_SETTING_IP6_CONFIG_METHOD_DISABLED) == 0 ||
+ g_strcmp0 (str_method, NM_SETTING_IP6_CONFIG_METHOD_IGNORE) == 0) {
method = IP6_METHOD_DISABLED;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]