Skip to content

Commit

Permalink
ims_registrar_pcscf: fix #1556
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed Jun 11, 2018
1 parent 55d115e commit cddcdb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/ims_registrar_pcscf/service_routes.c
Expand Up @@ -130,9 +130,9 @@ int checkcontact(struct sip_msg* _m, pcontact_t * c) {
break;
}
} else if (c->security_temp) {
switch (c->security->type) {
switch (c->security_temp->type) {
case SECURITY_IPSEC:
security_server_port = c->security->data.ipsec->port_uc;
security_server_port = c->security_temp->data.ipsec->port_uc;
break;
case SECURITY_TLS:
case SECURITY_NONE:
Expand Down

0 comments on commit cddcdb3

Please sign in to comment.