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.
This commit is contained in:
@@ -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));
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user