/*! \brief * RPC function to dump subnet table */ void rpc_subnet_dump(rpc_t* rpc, void* c) { if(subnet_table_rpc_print(*subnet_table, rpc, c) < 0) { LM_DBG("failed to print a subnet_table dump\n"); } return; }
/*! \brief * RPC function to dump subnet table */ void rpc_subnet_dump(rpc_t* rpc, void* c) { if(subnet_table==NULL) { rpc->fault(c, 500, "No subnet table"); return; } if(subnet_table_rpc_print(*subnet_table, rpc, c) < 0) { LM_DBG("failed to print subnet table dump\n"); } return; }