summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-05-05 11:53:18 +0200
committerThomas Haller <thaller@redhat.com>2020-05-08 08:02:49 +0200
commita7421f8bf2f43efd669a61c79798b79f6c9f4946 (patch)
tree590afa4e3c5aae47e2c2c22044fb2744bdb03501 /src/devices
parenta690cedcba3dd95535594108a4805f15c626f37c (diff)
downloadNetworkManager-a7421f8bf2f43efd669a61c79798b79f6c9f4946.tar.gz
libnm: adjust bridge defines NM_BRIDGE_PORT_PRIORITY_*
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/nm-device-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-bridge.c b/src/devices/nm-device-bridge.c
index f32bd66264..85e2df1269 100644
--- a/src/devices/nm-device-bridge.c
+++ b/src/devices/nm-device-bridge.c
@@ -344,7 +344,7 @@ static const Option master_options[] = {
static const Option slave_options[] = {
{ NM_SETTING_BRIDGE_PORT_PRIORITY, "priority",
NULL, NULL,
- 0, NM_BR_PORT_MAX_PRIORITY, NM_BR_PORT_DEF_PRIORITY,
+ NM_BRIDGE_PORT_PRIORITY_MIN, NM_BRIDGE_PORT_PRIORITY_MAX, NM_BRIDGE_PORT_PRIORITY_DEF,
TRUE, FALSE },
{ NM_SETTING_BRIDGE_PORT_PATH_COST, "path_cost",
NULL, NULL,