Skip to content
Snippets Groups Projects
Commit c841950f authored by Anjan Chanda's avatar Anjan Chanda
Browse files

parse 'remote_via' to get neighbor-1905 node's link interface

parent aa365710
Branches acx/remote_via
No related tags found
No related merge requests found
Pipeline #164552 passed
...@@ -307,7 +307,7 @@ static void hostmngr_1905topology_cb(struct ubus_request *req, int type, ...@@ -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) { blobmsg_for_each_attr(n_attr, tbn[ATTR_NBRLIST], rem2) {
const struct blobmsg_policy nbr_attrs[2] = { const struct blobmsg_policy nbr_attrs[2] = {
[0] = { .name = "macaddress", .type = BLOBMSG_TYPE_STRING }, [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]; struct blob_attr *tbnbr[2];
uint8_t nbr_macaddr[6] = {0}; uint8_t nbr_macaddr[6] = {0};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment