diff options
author | Thomas Haller <thaller@redhat.com> | 2020-08-21 13:59:33 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-08-21 13:59:40 +0200 |
commit | fdef0e8c62b2b493d9580303ac0008eb5da7e409 (patch) | |
tree | 9a6e955debba2be9cabaa0bbd396bab6e6b7309d | |
parent | a3d57721e67af6e771f829aed279dd16618511c3 (diff) | |
download | NetworkManager-fdef0e8c62b2b493d9580303ac0008eb5da7e409.tar.gz |
platform: fix default for bridge setting "mcast_snooping"
The value defaults to TRUE. Also, use the #define for it.
Fixes: 58847f85a4c1 ('platform: use netlink for configuring bridge settings'):
-rw-r--r-- | src/platform/nm-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c index 1f54fad8cd..4477d749ea 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -5393,7 +5393,7 @@ const NMPlatformLnkBridge nm_platform_lnk_bridge_default = { .vlan_stats_enabled = FALSE, .group_fwd_mask = 0, .group_addr = NM_ETHER_ADDR_INIT (NM_BRIDGE_GROUP_ADDRESS_DEF_BIN), - .mcast_snooping = FALSE, + .mcast_snooping = NM_BRIDGE_MULTICAST_SNOOPING_DEF, .mcast_router = 1, .mcast_query_use_ifaddr = FALSE, .mcast_querier = FALSE, |