Browse code

core: dst_blacklist rpc commands updated to use rpl_printf()

Daniel-Constantin Mierla authored on 01/09/2014 17:21:50
Showing 1 changed files
... ...
@@ -1075,11 +1075,11 @@ void dst_blst_view(rpc_t* rpc, void* ctx)
1075 1075
 				continue;
1076 1076
 			}
1077 1077
 			dst_blst_entry2ip(&ip, e);
1078
-			rpc->printf(ctx, "{\n    protocol: %s", get_proto_name(e->proto));
1079
-			rpc->printf(ctx, "    ip: %s", ip_addr2a(&ip));
1080
-			rpc->printf(ctx, "    port: %d", e->port);
1081
-			rpc->printf(ctx, "    expires in (s): %d", expires); 
1082
-			rpc->printf(ctx, "    flags: %d\n}", e->flags);
1078
+			rpc->rpl_printf(ctx, "{\n    protocol: %s", get_proto_name(e->proto));
1079
+			rpc->rpl_printf(ctx, "    ip: %s", ip_addr2a(&ip));
1080
+			rpc->rpl_printf(ctx, "    port: %d", e->port);
1081
+			rpc->rpl_printf(ctx, "    expires in (s): %d", expires); 
1082
+			rpc->rpl_printf(ctx, "    flags: %d\n}", e->flags);
1083 1083
 		}
1084 1084
 		UNLOCK_BLST(h);
1085 1085
 	}