@oej commented on this pull request.


In src/modules/keepalive/keepalive_rpc.c:

> @@ -87,3 +100,137 @@ static void keepalive_rpc_list(rpc_t *rpc, void *ctx)
 
 	return;
 }
+
+static void keepalive_rpc_add(rpc_t *rpc, void *ctx)
+{
+	str sip_adress = {0,0};
+	str table_name ={0,0};
+	int ret = 0;
+
+	ret = rpc->scan(ctx, "SS",&sip_adress,&table_name);
+
+	if (ret < 2) {
+		LM_ERR("not enough parameters - read so far: %d\n", ret);

When reading the log file, you probably want to add the command name or some context
LM_ERR("keepalived.add : not enough parameters - read so far: %d\n", ret);


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.