From abf46c5f4260dac20ce33338d9ebb67544c7e887 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sat, 23 Nov 2019 23:36:33 +0100
Subject: [PATCH] gluon-mesh-babel: fix compilation of respondd provider

Adjust for changed libbabelhelper API.
---
 package/gluon-mesh-babel/src/respondd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/gluon-mesh-babel/src/respondd.c b/package/gluon-mesh-babel/src/respondd.c
index d82ce6afc..80c4f9701 100644
--- a/package/gluon-mesh-babel/src/respondd.c
+++ b/package/gluon-mesh-babel/src/respondd.c
@@ -241,7 +241,7 @@ static struct json_object * get_babel_neighbours(void) {
 	if (!neighbours)
 		return NULL;
 
-	babelhelper_readbabeldata(&bhelper_ctx, (void*)neighbours, handle_neighbour);
+	babelhelper_readbabeldata(&bhelper_ctx, "dump", (void*)neighbours, handle_neighbour);
 
 	return(neighbours);
 }
@@ -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, "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;
 }
-- 
GitLab