From 20a738c92f8b9cf9a590237e1201867628215d46 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 9 Jan 2019 16:06:40 +0100 Subject: [PATCH] libnm: fix NM_SETTING_DIFF_RESULT_IN_B_DEFAULT flag for nm_setting_diff() This is public API, but if it was used, it was very wrong. Cannot help but fix it. Fixes: 68bc95c12f64df1973e7c3f63131cedc6fae280d --- libnm-core/nm-setting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-core/nm-setting.h b/libnm-core/nm-setting.h index e3c128ffb2..3576bdc663 100644 --- a/libnm-core/nm-setting.h +++ b/libnm-core/nm-setting.h @@ -270,7 +270,7 @@ typedef enum { NM_SETTING_DIFF_RESULT_IN_A = 0x00000001, NM_SETTING_DIFF_RESULT_IN_B = 0x00000002, NM_SETTING_DIFF_RESULT_IN_A_DEFAULT = 0x00000004, - NM_SETTING_DIFF_RESULT_IN_B_DEFAULT = 0x00000004, + NM_SETTING_DIFF_RESULT_IN_B_DEFAULT = 0x00000008, } NMSettingDiffResult; gboolean nm_setting_diff (NMSetting *a,