diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-19 00:48:12 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-19 00:48:12 +0200 |
commit | fa31a460d8cb59288c4324eb684bd3ce21e837c3 (patch) | |
tree | a291f5b3dd0f12a0b6d6efea077a983deb08bafd | |
parent | 0e9c6efa192418a02e182a4401da87cd51f4ac76 (diff) |
proto-shell.c: mark device present after reclaiming it, fixes ubus network.device status call after the protocol has been reconnected
-rw-r--r-- | proto-shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |