summaryrefslogtreecommitdiff
path: root/src
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
commit4c3691e52e274855a2a9ce9b9ac2bcda1f16cf8c (patch)
tree5244211d429bcfa7620fefa9272432e79b418be1 /src
parenta7421f8bf2f43efd669a61c79798b79f6c9f4946 (diff)
downloadNetworkManager-4c3691e52e274855a2a9ce9b9ac2bcda1f16cf8c.tar.gz
libnm: adjust bridge defines NM_BRIDGE_PORT_PATH_COST_*
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 85e2df1269..3e56d94286 100644
--- a/src/devices/nm-device-bridge.c
+++ b/src/devices/nm-device-bridge.c
@@ -348,7 +348,7 @@ static const Option slave_options[] = {
TRUE, FALSE },
{ NM_SETTING_BRIDGE_PORT_PATH_COST, "path_cost",
NULL, NULL,
- 0, NM_BR_PORT_MAX_PATH_COST, 100,
+ NM_BRIDGE_PORT_PATH_COST_MIN, NM_BRIDGE_PORT_PATH_COST_MAX, NM_BRIDGE_PORT_PATH_COST_DEF,
TRUE, FALSE },
{ NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE, "hairpin_mode",
NULL, NULL,