summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-util/nm-setting-vlan.c')
-rw-r--r--libnm-util/nm-setting-vlan.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libnm-util/nm-setting-vlan.c b/libnm-util/nm-setting-vlan.c
index c3d4bb58f1..0ed2c6e9b5 100644
--- a/libnm-util/nm-setting-vlan.c
+++ b/libnm-util/nm-setting-vlan.c
@@ -584,9 +584,7 @@ verify (NMSetting *setting, GSList *all_settings, GError **error)
}
}
- if (priv->flags & ~(NM_VLAN_FLAG_REORDER_HEADERS |
- NM_VLAN_FLAG_GVRP |
- NM_VLAN_FLAG_LOOSE_BINDING)) {
+ if (priv->flags & ~NM_VLAN_FLAGS_ALL) {
g_set_error_literal (error,
NM_SETTING_VLAN_ERROR,
NM_SETTING_VLAN_ERROR_INVALID_PROPERTY,
@@ -800,7 +798,8 @@ nm_setting_vlan_class_init (NMSettingVlanClass *setting_class)
* interface. Flags include %NM_VLAN_FLAG_REORDER_HEADERS (reordering of
* output packet headers), %NM_VLAN_FLAG_GVRP (use of the GVRP protocol),
* and %NM_VLAN_FLAG_LOOSE_BINDING (loose binding of the interface to its
- * master device's operating state).
+ * master device's operating state), %NM_VLAN_FLAG_MVRP (use of the MVRP
+ * protocol).
**/
g_object_class_install_property
(object_class, PROP_FLAGS,