From: Jo-Philipp Wich Date: Mon, 18 Jun 2012 22:48:12 +0000 (+0200) Subject: proto-shell.c: mark device present after reclaiming it, fixes ubus network.device... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa31a460d8cb59288c4324eb684bd3ce21e837c3;p=oweals%2Fnetifd.git proto-shell.c: mark device present after reclaiming it, fixes ubus network.device status call after the protocol has been reconnected --- 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)