summaryrefslogtreecommitdiffhomepage
path: root/proto-shell.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-01-17 00:39:40 +0100
committerSteven Barth <steven@midlink.org>2014-01-17 00:39:40 +0100
commit1418ef786f275b8458462ee3494573524ca0042c (patch)
treeb8f54642f54ad2b6d0bbda84290281bf53a0d677 /proto-shell.c
parent7d79d0a8aa5a5b4c1ed987af119356438d98fe7b (diff)
Add indicator-flags to ubus and hotplug update-events
Diffstat (limited to 'proto-shell.c')
-rw-r--r--proto-shell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto-shell.c b/proto-shell.c
index 6bbfe10..1a69c19 100644
--- a/proto-shell.c
+++ b/proto-shell.c
@@ -479,15 +479,15 @@ proto_shell_update_link(struct proto_shell_state *state, struct blob_attr *data,
if ((cur = tb[NOTIFY_DNS_SEARCH]))
interface_add_dns_search_list(&iface->proto_ip, cur);
+ if ((cur = tb[NOTIFY_DATA]))
+ proto_shell_parse_data(state->proto.iface, cur);
+
interface_update_complete(state->proto.iface);
if (!keep)
state->proto.proto_event(&state->proto, IFPEV_UP);
state->sm = S_IDLE;
- if ((cur = tb[NOTIFY_DATA]))
- proto_shell_parse_data(state->proto.iface, cur);
-
return 0;
}