X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto-shell.c;h=ae0f9383f4fbea2c47843f9e161b48f5c0080f09;hp=2317209b2442c8619adc7ed1a62f6eb87234a11f;hb=1f11f552cea9358bd17a4c37a597799f11c52600;hpb=b0b11b2295fbb8399949139d82156e123e005902 diff --git a/proto-shell.c b/proto-shell.c index 2317209..ae0f938 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -455,6 +455,7 @@ proto_shell_update_link(struct proto_shell_state *state, struct blob_attr *data, interface_set_l3_dev(iface, dev); device_claim(&iface->l3_dev); + device_set_present(dev, true); } if (!keep)