projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move l3 device tracking to interface core to enforce proper order of address/route...
[project/netifd.git]
/
ubus.c
diff --git
a/ubus.c
b/ubus.c
index
6d79a0a
..
40c6374
100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-303,7
+303,7
@@
netifd_handle_status(struct ubus_context *ctx, struct ubus_object *obj,
if (iface->state == IFS_UP) {
time_t cur = system_get_rtime();
blobmsg_add_u32(&b, "uptime", cur - iface->start_time);
if (iface->state == IFS_UP) {
time_t cur = system_get_rtime();
blobmsg_add_u32(&b, "uptime", cur - iface->start_time);
- blobmsg_add_string(&b, "l3_device", iface->l3_dev
->
dev->ifname);
+ blobmsg_add_string(&b, "l3_device", iface->l3_dev
.
dev->ifname);
}
dev = iface->main_dev.dev;
}
dev = iface->main_dev.dev;