summaryrefslogtreecommitdiff
path: root/system-dummy.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-11 15:29:05 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-11 15:29:05 +0200
commitd64c608820ddb4817ef7dff1f993a5801ff99ca2 (patch)
tree9663570286e2305ea6d0f9b59d2c429a65c56e52 /system-dummy.c
parent5d4ed8a855022394bc002c42f42b1656c2cba06f (diff)
downloadnetifd-d64c608820ddb4817ef7dff1f993a5801ff99ca2.tar.gz
implement a new ubus object "network.device", add a method for dumping detailed device information
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c
index 4c9a8fc..e6187f3 100644
--- a/system-dummy.c
+++ b/system-dummy.c
@@ -79,6 +79,11 @@ int system_if_check(struct device *dev)
return 0;
}
+int system_if_dump_stats(struct device *dev, struct blob_buf *b)
+{
+ return 0;
+}
+
int system_add_address(struct device *dev, struct device_addr *addr)
{
uint8_t *a = (uint8_t *) &addr->addr.in;