mirror of
https://github.com/outbackdingo/udevmand.git
synced 2026-01-27 10:20:51 +00:00
resolv port to owrt iface names
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
2
netdev.c
2
netdev.c
@@ -136,7 +136,7 @@ iface_dump(void)
|
||||
struct iface_ip *ip;
|
||||
void *c, *d;
|
||||
|
||||
c = blobmsg_open_table(&b, iface->name);
|
||||
c = blobmsg_open_table(&b, interface_resolve(iface->name));
|
||||
blobmsg_add_mac(&b, "hwaddr", iface->addr);
|
||||
if (!list_empty(&iface->ipv4)) {
|
||||
d = blobmsg_open_array(&b, "ipv4");
|
||||
|
||||
Reference in New Issue
Block a user