From 1291a042984a3f90a6f122f27d40b10eab009994 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 17 Jan 2018 01:28:09 +0900 Subject: [PATCH] ipvlan: fix wrong assignment in ipvlan_init() --- src/network/netdev/ipvlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/netdev/ipvlan.c b/src/network/netdev/ipvlan.c index 418729c7ef4..856f5bd8058 100644 --- a/src/network/netdev/ipvlan.c +++ b/src/network/netdev/ipvlan.c @@ -79,7 +79,7 @@ static void ipvlan_init(NetDev *n) { assert(m); m->mode = _NETDEV_IPVLAN_MODE_INVALID; - m->mode = _NETDEV_IPVLAN_FLAGS_INVALID; + m->flags = _NETDEV_IPVLAN_FLAGS_INVALID; } const NetDevVTable ipvlan_vtable = {