Browse code

corex: print address family name for rpc corex.list_sockets

Daniel-Constantin Mierla authored on 16/09/2022 14:48:19
Showing 1 changed files
... ...
@@ -65,7 +65,8 @@ static void corex_rpc_list_sockets(rpc_t* rpc, void* ctx)
65 65
 				return;
66 66
 			}
67 67
 
68
-			if(rpc->struct_add(th, "ss{",
68
+			if(rpc->struct_add(th, "sss{",
69
+				"AF", 	get_af_name(proto),
69 70
 				"PROTO", 	get_valid_proto_name(proto),
70 71
 				"NAME", 	si->name.s,
71 72
 				"ADDRLIST",  &ih)<0)