summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-bridge.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-06-29 12:40:26 +0200
committerThomas Haller <thaller@redhat.com>2020-06-29 12:41:15 +0200
commit688695d12d3237bbde0612a8393288aedc86ca55 (patch)
tree1f3834a9598e979e7a81f3ca35c2890484277f3a /libnm-core/nm-setting-bridge.c
parent0b63097801583089874536fcd6b19450e06d0ce3 (diff)
downloadNetworkManager-th/ifcfg-bridge-writer.tar.gz
libnm/doc: clarify values for "bridge.multicast-router"th/ifcfg-bridge-writer
Kernel (sysfs) and iproute2 only use numbers for the multicast_router option. It's confusing that we name the options differently. Anyway, that cannot be changed anymore. Clarify the meanings in the documentation. https://bugzilla.redhat.com/show_bug.cgi?id=1845608
Diffstat (limited to 'libnm-core/nm-setting-bridge.c')
-rw-r--r--libnm-core/nm-setting-bridge.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libnm-core/nm-setting-bridge.c b/libnm-core/nm-setting-bridge.c
index 0595af8730..02ad4f010c 100644
--- a/libnm-core/nm-setting-bridge.c
+++ b/libnm-core/nm-setting-bridge.c
@@ -1973,8 +1973,9 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *klass)
* Sets bridge's multicast router. Multicast-snooping must be enabled
* for this option to work.
*
- * Supported values are: 'auto', 'disabled', 'enabled'.
- * If not specified the default value is 'auto'.
+ * Supported values are: 'auto', 'disabled', 'enabled' to which kernel
+ * assigns the numbers 1, 0, and 2, respectively.
+ * If not specified the default value is 'auto' (1).
**/
/* ---ifcfg-rh---
* property: multicast-router