summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/ipvlan.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-05-23 04:27:12 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-05-28 15:45:35 +0200
commitdaf0f8ca87284b847c40102dbaca0890fec2f971 (patch)
tree7fab5776a413943e6fd34c3de6268da085d7f2b5 /src/network/netdev/ipvlan.c
parentMerge pull request #12437 from poettering/chmod-and-chown-rewrite (diff)
downloadsystemd-daf0f8ca87284b847c40102dbaca0890fec2f971.tar.xz
systemd-daf0f8ca87284b847c40102dbaca0890fec2f971.zip
network: add NetDevVTable::generate_mac flag
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) {