summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-macvlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-netdev-macvlan.h')
-rw-r--r--src/network/networkd-netdev-macvlan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-macvlan.h b/src/network/networkd-netdev-macvlan.h
index 622ef9ef53..3663f4f051 100644
--- a/src/network/networkd-netdev-macvlan.h
+++ b/src/network/networkd-netdev-macvlan.h
@@ -38,6 +38,8 @@ struct MacVlan {
MacVlanMode mode;
};
+DEFINE_NETDEV_CAST(MACVLAN, MacVlan);
+DEFINE_NETDEV_CAST(MACVTAP, MacVlan);
extern const NetDevVTable macvlan_vtable;
extern const NetDevVTable macvtap_vtable;