resolv port to owrt iface names

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2021-02-01 16:41:11 +01:00
parent 5ca087499e
commit 0b7eb2f146
2 changed files with 4 additions and 4 deletions

View File

@@ -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");