summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2019-03-16 17:21:35 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2019-03-26 17:18:29 +0100
commit1e5b0788bcc91e7998dfffda3a116735f90ed239 (patch)
treea5399b495be0a892fae98ed45988a78e2817dcb7 /shared
parent96fab7b46258e2c292deae15cfbd380a0a255208 (diff)
downloadNetworkManager-1e5b0788bcc91e7998dfffda3a116735f90ed239.tar.gz
libnm-core: add vlans property to bridge-port setting
Diffstat (limited to 'shared')
-rw-r--r--shared/nm-libnm-core-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/nm-libnm-core-utils.h b/shared/nm-libnm-core-utils.h
index 3d06de00a2..85dd3b9b2c 100644
--- a/shared/nm-libnm-core-utils.h
+++ b/shared/nm-libnm-core-utils.h
@@ -20,6 +20,7 @@
/****************************************************************************/
+#include "nm-setting-bridge.h"
#include "nm-setting-connection.h"
#include "nm-setting-ip-config.h"
#include "nm-setting-ip4-config.h"
@@ -46,6 +47,9 @@ NM_AUTO_DEFINE_FCN0 (NMTCQdisc *, _nm_auto_unref_tc_qdisc, nm_tc_qdisc_unref)
#define nm_auto_unref_tc_tfilter nm_auto (_nm_auto_unref_tc_tfilter)
NM_AUTO_DEFINE_FCN0 (NMTCTfilter *, _nm_auto_unref_tc_tfilter, nm_tc_tfilter_unref)
+#define nm_auto_unref_bridge_vlan nm_auto (_nm_auto_unref_bridge_vlan)
+NM_AUTO_DEFINE_FCN0 (NMBridgeVlan *, _nm_auto_unref_bridge_vlan, nm_bridge_vlan_unref)
+
#define nm_auto_unref_team_link_watcher nm_auto (_nm_auto_unref_team_link_watcher)
NM_AUTO_DEFINE_FCN0 (NMTeamLinkWatcher *, _nm_auto_unref_team_link_watcher, nm_team_link_watcher_unref)