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-30 16:30:38 +0200
commitb9aa7ef81c2de70a3673b38ae0f36c5ad4e666ab (patch)
treebf159c9340e927060bcb8730ece51603d36c3ed5 /libnm-core/nm-setting-bridge.c
parent13327555d6d8dd18d0ad6c450d6cb990a4ecd491 (diff)
downloadNetworkManager-b9aa7ef81c2de70a3673b38ae0f36c5ad4e666ab.tar.gz
libnm/doc: clarify values for "bridge.multicast-router"
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