From 13c348dcd910cc2db9590607a12a85fd174679f0 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 7 Mar 2014 18:05:14 -0600 Subject: [PATCH] libnm-util: fix Bridge priority default (rh #1073664) Due to a misread of the kernel code, the bridge priority default when STP was enabled was 0x80 instead of 0x8000. --- libnm-util/nm-setting-bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-util/nm-setting-bridge.c b/libnm-util/nm-setting-bridge.c index 10c6190961..32bfa3380e 100644 --- a/libnm-util/nm-setting-bridge.c +++ b/libnm-util/nm-setting-bridge.c @@ -468,7 +468,7 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) "for this bridge. Lower values are 'better'; the " "lowest priority bridge will be elected the root " "bridge.", - 0, G_MAXUINT16, 0x80, + 0, G_MAXUINT16, 0x8000, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_INFERRABLE)); /**