Skip to content
Snippets Groups Projects
Unverified Commit abf46c5f authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-mesh-babel: fix compilation of respondd provider

Adjust for changed libbabelhelper API.
parent 00b46f06
No related branches found
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ static struct json_object * get_babel_neighbours(void) { ...@@ -241,7 +241,7 @@ static struct json_object * get_babel_neighbours(void) {
if (!neighbours) if (!neighbours)
return NULL; return NULL;
babelhelper_readbabeldata(&bhelper_ctx, (void*)neighbours, handle_neighbour); babelhelper_readbabeldata(&bhelper_ctx, "dump", (void*)neighbours, handle_neighbour);
return(neighbours); return(neighbours);
} }
...@@ -593,7 +593,7 @@ static struct json_object * respondd_provider_statistics(void) { ...@@ -593,7 +593,7 @@ static struct json_object * respondd_provider_statistics(void) {
json_object_object_add(ret, "clients", get_clients()); json_object_object_add(ret, "clients", get_clients());
json_object_object_add(ret, "traffic", get_traffic()); json_object_object_add(ret, "traffic", get_traffic());
babelhelper_readbabeldata(&bhelper_ctx, (void*)ret, handle_route_addgw_nexthop ); babelhelper_readbabeldata(&bhelper_ctx, "dump", (void*)ret, handle_route_addgw_nexthop );
return ret; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment