summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-05-05 11:47:41 +0200
committerThomas Haller <thaller@redhat.com>2020-05-08 08:02:49 +0200
commita690cedcba3dd95535594108a4805f15c626f37c (patch)
tree82091781ca5f78792feda591490f061d952facc6 /src
parente2cb0837cc572cab3fc032ff2fb6078fc0a3d8db (diff)
downloadNetworkManager-a690cedcba3dd95535594108a4805f15c626f37c.tar.gz
libnm: adjust bridge defines NM_BRIDGE_PRIORITY_*
Diffstat (limited to 'src')
-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 460faa65fa..f32bd66264 100644
--- a/src/devices/nm-device-bridge.c
+++ b/src/devices/nm-device-bridge.c
@@ -252,7 +252,7 @@ static const Option master_options[] = {
FALSE, FALSE, FALSE },
{ NM_SETTING_BRIDGE_PRIORITY, "priority",
NULL, NULL,
- 0, G_MAXUINT16, 0x8000,
+ NM_BRIDGE_PRIORITY_MIN, NM_BRIDGE_PRIORITY_MAX, NM_BRIDGE_PRIORITY_DEF,
TRUE, FALSE, TRUE },
{ NM_SETTING_BRIDGE_FORWARD_DELAY, "forward_delay",
NULL, NULL,