Skip to content

Commit

Permalink
ims_ipsec_pcscf: add q value to Security-Server header for IPSec
Browse files Browse the repository at this point in the history
  • Loading branch information
herlesupreeth authored and miconda committed Nov 30, 2023
1 parent bb35e0a commit e4b4b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ims_ipsec_pcscf/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ int add_security_server_header(struct sip_msg *m, ipsec_t *s)
memset(sec_hdr_buf, 0, sizeof(sec_hdr_buf));
sec_header->len = snprintf(sec_hdr_buf, sizeof(sec_hdr_buf) - 1,
"Security-Server: "
"ipsec-3gpp;prot=esp;mod=trans;spi-c=%d;spi-s=%d;port-c=%d;port-s=%"
"ipsec-3gpp;q=0.1;prot=esp;mod=trans;spi-c=%d;spi-s=%d;port-c=%d;port-s=%"
"d;alg=%.*s;ealg=%.*s\r\n",
s->spi_pc, s->spi_ps, s->port_pc, s->port_ps, s->r_alg.len,
s->r_alg.s, s->r_ealg.len, s->r_ealg.s);
Expand Down

0 comments on commit e4b4b95

Please sign in to comment.