X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=macvlan.c;h=019a7ffedce6db4f353f38c19275fcceb9ed0f09;hp=e5a4891e136e0353b51c30b13b4450ba9a6e8dab;hb=500779b3750d8a7603401128f6eb4e942e684616;hpb=247f42d1907dbb16033dcb9a28548c4591af9d67;ds=sidebyside diff --git a/macvlan.c b/macvlan.c index e5a4891..019a7ff 100644 --- a/macvlan.c +++ b/macvlan.c @@ -258,6 +258,7 @@ macvlan_create(const char *name, struct blob_attr *attr) const struct device_type macvlan_device_type = { .name = "MAC VLAN", .config_params = &macvlan_attr_list, + .keep_link_status = true, .create = macvlan_create, .config_init = macvlan_config_init,