Module: kamailio Branch: master Commit: 6dbb0d6ec6c9676e2191e06ca73fb712d8f4e4bd URL: https://github.com/kamailio/kamailio/commit/6dbb0d6ec6c9676e2191e06ca73fb712...
Author: �������������������� �������������������������������� git-dpa@aegee.org Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2023-02-13T12:14:59+01:00
ims_ipsec_pcscf: typos
---
Modified: src/modules/ims_ipsec_pcscf/cmd.c Modified: src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml Modified: src/modules/ims_ipsec_pcscf/ipsec.c Modified: src/modules/ims_ipsec_pcscf/spi_list.c
---
Diff: https://github.com/kamailio/kamailio/commit/6dbb0d6ec6c9676e2191e06ca73fb712... Patch: https://github.com/kamailio/kamailio/commit/6dbb0d6ec6c9676e2191e06ca73fb712...
---
diff --git a/src/modules/ims_ipsec_pcscf/cmd.c b/src/modules/ims_ipsec_pcscf/cmd.c index 6f6c15e21b..963e378604 100644 --- a/src/modules/ims_ipsec_pcscf/cmd.c +++ b/src/modules/ims_ipsec_pcscf/cmd.c @@ -600,7 +600,7 @@ int add_supported_secagree_header(struct sip_msg *m) }
if((supported->s = pkg_malloc(supported_sec_agree_len)) == NULL) { - LM_ERR("Error allcationg pkg memory for supported header str\n"); + LM_ERR("Error allocating pkg memory for supported header str\n"); pkg_free(supported); return -1; } @@ -631,7 +631,7 @@ int add_require_secagree_header(struct sip_msg *m) }
if((require->s = pkg_malloc(require_sec_agree_len)) == NULL) { - LM_ERR("Error allcationg pkg memory for require header str\n"); + LM_ERR("Error allocating pkg memory for require header str\n"); pkg_free(require); return -1; } diff --git a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml index ea1fc34ca9..982df9bbb1 100644 --- a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml +++ b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml @@ -38,7 +38,7 @@ <section> <title>External Libraries or Applications</title>
- <para>This modules requires the internal IMS library and libmnl for operating with netlink sockets.</para> + <para>This module requires the internal IMS library and libmnl for operating with netlink sockets.</para> </section> </section>
@@ -118,7 +118,7 @@ modparam("ims_ipsec_pcscf", "ipsec_server_port", 5063) <section> <title><varname>ipsec_max_connections</varname> (int)</title>
- <para>Maximum simultanious IPSec connections</para> + <para>Maximum simultaneous IPSec connections</para>
<para><emphasis>Default value is 2.</emphasis></para>
diff --git a/src/modules/ims_ipsec_pcscf/ipsec.c b/src/modules/ims_ipsec_pcscf/ipsec.c index 8eb392ab30..fbfa41d75d 100644 --- a/src/modules/ims_ipsec_pcscf/ipsec.c +++ b/src/modules/ims_ipsec_pcscf/ipsec.c @@ -207,7 +207,7 @@ int add_sa(struct mnl_socket *nl_sock, const struct ip_addr *src_addr_param, string_to_key(l_auth_algo->alg_key, ik1); pkg_free(ik1.s); } else { - LM_DBG("Creating security associations: UNKNOW Auth Algorithm\n"); + LM_DBG("Creating security associations: UNKNOWN Auth Algorithm\n"); return -1; }
@@ -239,7 +239,7 @@ int add_sa(struct mnl_socket *nl_sock, const struct ip_addr *src_addr_param, strcpy(l_enc_algo->alg_name, "cipher_null"); l_enc_algo->alg_key_len = 0; } else { - LM_DBG("Creating security associations: UNKNOW Enc Algorithm\n"); + LM_DBG("Creating security associations: UNKNOWN Enc Algorithm\n"); return -1; }
diff --git a/src/modules/ims_ipsec_pcscf/spi_list.c b/src/modules/ims_ipsec_pcscf/spi_list.c index f7edccd8c5..37a76cba79 100644 --- a/src/modules/ims_ipsec_pcscf/spi_list.c +++ b/src/modules/ims_ipsec_pcscf/spi_list.c @@ -135,7 +135,7 @@ int spi_remove(spi_list_t *list, uint32_t spi_cid, uint32_t spi_sid) //detach node prev->next = curr->next;
- //is it the last elemet + //is it the last element if(t == list->tail) { list->tail = prev; }