diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-01-19 17:14:52 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-01-19 17:14:52 +0100 |
commit | fcbec58e1494281dfeb2f19576c52667a512fad2 (patch) | |
tree | f302b217dc2f0d81ad2c39e6430f34420b26ff8f /device.c | |
parent | 395891b0e4c67591523dd0e2c2ac0c8aa22e88e7 (diff) |
export carrier status in device stats
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -672,6 +672,8 @@ device_dump_status(struct blob_buf *b, struct device *dev) blobmsg_add_u8(b, "up", !!dev->active); if (dev->type->dump_info) dev->type->dump_info(dev, b); + else + system_if_dump_info(dev, b); s = blobmsg_open_table(b, "statistics"); if (dev->type->dump_stats) |