summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/ipvlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/ipvlan.c')
-rw-r--r--src/network/netdev/ipvlan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/netdev/ipvlan.c b/src/network/netdev/ipvlan.c
index f48cb0231a..45dfe17777 100644
--- a/src/network/netdev/ipvlan.c
+++ b/src/network/netdev/ipvlan.c
@@ -77,6 +77,7 @@ const NetDevVTable ipvlan_vtable = {
.sections = "Match\0NetDev\0IPVLAN\0",
.fill_message_create = netdev_ipvlan_fill_message_create,
.create_type = NETDEV_CREATE_STACKED,
+ .generate_mac = true,
};
const NetDevVTable ipvtap_vtable = {
@@ -85,6 +86,7 @@ const NetDevVTable ipvtap_vtable = {
.sections = "Match\0NetDev\0IPVTAP\0",
.fill_message_create = netdev_ipvlan_fill_message_create,
.create_type = NETDEV_CREATE_STACKED,
+ .generate_mac = true,
};
IPVlanMode link_get_ipvlan_mode(Link *link) {