summaryrefslogtreecommitdiffhomepage
path: root/system-linux.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-01-22 19:09:50 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-01-22 19:09:50 +0100
commit1466967ffa3e408b709d5e84932616787b2853ac (patch)
treebdcbe1984d1779128df84f3bea01ee2e73c16a7f /system-linux.c
parent677f9754526a7923417fb70f9a8a38adaeb251a6 (diff)
show mtu, macaddr and txqueuelen from cached device settings
Diffstat (limited to 'system-linux.c')
-rw-r--r--system-linux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/system-linux.c b/system-linux.c
index 4fa0ead..34d7cae 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -746,8 +746,6 @@ system_if_dump_info(struct device *dev, struct blob_buf *b)
if (read_int_file(dir_fd, "carrier", &val))
blobmsg_add_u8(b, "link", !!val);
- if (read_string_file(dir_fd, "address", buf, sizeof(buf)))
- blobmsg_add_string(b, "macaddr", buf);
memset(&ecmd, 0, sizeof(ecmd));
memset(&ifr, 0, sizeof(ifr));