diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-23 14:41:53 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-23 14:41:53 +0200 |
commit | b7d1c27b752df3e6c5dfe6a5b789d6cb0c87d0f6 (patch) | |
tree | e64c47acf58a4a9eb29d20ef21537db55174df1b /ubus.c | |
parent | c7a52ed70eaae0207d7f7e6c4a31035f5ec3757e (diff) |
move l3 device tracking to interface core to enforce proper order of address/route removal on device or interface state changes
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); - 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; |