mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 11:50:14 +01:00
bridge: make some advanced options hidden if default
The options are:
* group-address
* multicast-querier
* multicast-query-use-ifaddr
* multicast-router
* vlan-stats-enabled
* vlan-protocol
(cherry picked from commit 3af07fd415)
This commit is contained in:
parent
fc582312f7
commit
486161cff4
1 changed files with 6 additions and 0 deletions
|
|
@ -4892,6 +4892,7 @@ static const NMMetaPropertyInfo *const property_infos_BRIDGE[] = {
|
|||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_GROUP_ADDRESS,
|
||||
.property_type = &_pt_gobject_mac,
|
||||
.hide_if_default = TRUE,
|
||||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_GROUP_FORWARD_MASK,
|
||||
.is_cli_option = TRUE,
|
||||
|
|
@ -4901,9 +4902,11 @@ static const NMMetaPropertyInfo *const property_infos_BRIDGE[] = {
|
|||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_MULTICAST_QUERIER,
|
||||
.property_type = &_pt_gobject_bool,
|
||||
.hide_if_default = TRUE,
|
||||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_MULTICAST_QUERY_USE_IFADDR,
|
||||
.property_type = &_pt_gobject_bool,
|
||||
.hide_if_default = TRUE,
|
||||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_MULTICAST_SNOOPING,
|
||||
.is_cli_option = TRUE,
|
||||
|
|
@ -4913,6 +4916,7 @@ static const NMMetaPropertyInfo *const property_infos_BRIDGE[] = {
|
|||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_MULTICAST_ROUTER,
|
||||
.property_type = &_pt_gobject_string,
|
||||
.hide_if_default = TRUE,
|
||||
.property_typ_data = DEFINE_PROPERTY_TYP_DATA (
|
||||
.values_static = NM_MAKE_STRV ("auto",
|
||||
"disabled",
|
||||
|
|
@ -4927,9 +4931,11 @@ static const NMMetaPropertyInfo *const property_infos_BRIDGE[] = {
|
|||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_VLAN_STATS_ENABLED,
|
||||
.property_type = &_pt_gobject_bool,
|
||||
.hide_if_default = TRUE,
|
||||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_BRIDGE_VLAN_PROTOCOL,
|
||||
.property_type = &_pt_gobject_string,
|
||||
.hide_if_default = TRUE,
|
||||
.property_typ_data = DEFINE_PROPERTY_TYP_DATA (
|
||||
.values_static = NM_MAKE_STRV ("802.1Q",
|
||||
"802.1ad"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue