Browse code

sctp: fix typo scp_register_rpc -> sctp_register_rpc (cherry picked from commit 177b0d2807763b13d30148f44c1cc4d3d765d67c)

(cherry picked from commit 5b0fa2fedbf4ffc81d0ac322a68bd2946363cc55)

Mikko Lehto authored on 06/05/2015 03:32:30 • Daniel-Constantin Mierla committed on 18/12/2015 20:27:29
Showing 1 changed files
... ...
@@ -154,7 +154,7 @@ static void core_sctpinfo(rpc_t* rpc, void* c)
154 154
 /*
155 155
  * RPC Methods exported by this module
156 156
  */
157
-static rpc_export_t scp_rpc_methods[] = {
157
+static rpc_export_t sctp_rpc_methods[] = {
158 158
 	{"sctp.options",      core_sctp_options,      core_sctp_options_doc,
159 159
 		0},
160 160
 	{"sctp.info",         core_sctpinfo,          core_sctpinfo_doc,   0},
... ...
@@ -165,7 +165,7 @@ static rpc_export_t scp_rpc_methods[] = {
165 165
 
166 166
 int sctp_register_rpc(void)
167 167
 {
168
-	if (rpc_register_array(scp_rpc_methods)!=0)
168
+	if (rpc_register_array(sctp_rpc_methods)!=0)
169 169
 	{
170 170
 		LM_ERR("failed to register RPC commands\n");
171 171
 		return -1;