Skip to content

Commit

Permalink
proto_sctp: Fix startup bug caused by a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed May 9, 2016
1 parent 3fd9686 commit e8d9a71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -1028,7 +1028,7 @@ int main(int argc, char** argv)
LM_ERR("cannot load transport protocols\n");
goto error;
} else if (protos_no == 0) {
LM_ERR("no trasnport protocol loaded\n");
LM_ERR("no transport protocol loaded\n");
goto error;
} else
LM_DBG("Loaded %d transport protocols\n", protos_no);
Expand Down
2 changes: 1 addition & 1 deletion modules/proto_sctp/proto_sctp.c
Expand Up @@ -70,7 +70,7 @@ struct module_exports exports = {
static int proto_sctp_init(struct proto_info *pi)
{
pi->id = PROTO_SCTP;
pi->name = "stcp";
pi->name = "sctp";
pi->default_port = sctp_port;

pi->tran.init_listener = proto_sctp_init_listener;
Expand Down

0 comments on commit e8d9a71

Please sign in to comment.