diff --git a/src/ubus.c b/src/ubus.c index 6a5bfd040fceac4d050ca500c14ab5eea0761e36..95997cf14fb33bddb83f7bd48e689d523f0e1cd6 100644 --- a/src/ubus.c +++ b/src/ubus.c @@ -307,7 +307,7 @@ static void hostmngr_1905topology_cb(struct ubus_request *req, int type, blobmsg_for_each_attr(n_attr, tbn[ATTR_NBRLIST], rem2) { const struct blobmsg_policy nbr_attrs[2] = { [0] = { .name = "macaddress", .type = BLOBMSG_TYPE_STRING }, - [1] = { .name = "via", .type = BLOBMSG_TYPE_STRING }, + [1] = { .name = "remote_via", .type = BLOBMSG_TYPE_STRING }, }; struct blob_attr *tbnbr[2]; uint8_t nbr_macaddr[6] = {0};