Module: kamailio
Branch: master
Commit: cc1142fcc15e0875d309de894a239325526fa186
URL:
https://github.com/kamailio/kamailio/commit/cc1142fcc15e0875d309de894a23932…
Author: Bastian Triller <bastian.triller(a)gmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-03-13T11:35:17+01:00
sipcapture: fix spelling errors
---
Modified: src/modules/sipcapture/doc/sipcapture_admin.xml
Modified: src/modules/sipcapture/hep.c
Modified: src/modules/sipcapture/sipcapture.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cc1142fcc15e0875d309de894a23932…
Patch:
https://github.com/kamailio/kamailio/commit/cc1142fcc15e0875d309de894a23932…
---
diff --git a/src/modules/sipcapture/doc/sipcapture_admin.xml
b/src/modules/sipcapture/doc/sipcapture_admin.xml
index 0dbfafae96..64cad5f0c0 100644
--- a/src/modules/sipcapture/doc/sipcapture_admin.xml
+++ b/src/modules/sipcapture/doc/sipcapture_admin.xml
@@ -365,7 +365,7 @@ modparam("sipcapture", "raw_sock_children", 6)
</emphasis>
</para>
<example>
- <title>Set <varname>promiscous_on</varname>
parameter</title>
+ <title>Set <varname>promiscuous_on</varname>
parameter</title>
<programlisting format="linespecific">
...
modparam("sipcapture", "promiscuous_on", 1)
diff --git a/src/modules/sipcapture/hep.c b/src/modules/sipcapture/hep.c
index 2934c2c0d2..980cba9095 100644
--- a/src/modules/sipcapture/hep.c
+++ b/src/modules/sipcapture/hep.c
@@ -481,7 +481,7 @@ int parsing_hepv3_message(char *buf, unsigned int len)
si->addr_info_lst = 0;
si->address_str.s = ip_addr2a(&si->address);
- ;
+
si->address_str.len = strlen(si->address_str.s);
si->port_no_str.s = int2str(si->port_no, &tmp_len);
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c
index 094d6ea168..58747ad6ae 100644
--- a/src/modules/sipcapture/sipcapture.c
+++ b/src/modules/sipcapture/sipcapture.c
@@ -388,7 +388,7 @@ static param_export_t params[] = {
{"raw_moni_capture_on", INT_PARAM, &moni_capture_on},
{"db_insert_mode", INT_PARAM, &db_insert_mode},
{"raw_interface", PARAM_STR, &raw_interface},
- {"promiscious_on", INT_PARAM, &promisc_on},
+ {"promiscuous_on", INT_PARAM, &promisc_on},
{"raw_moni_bpf_on", INT_PARAM, &bpf_on},
{"callid_aleg_header", PARAM_STR, &callid_aleg_header},
{"custom_field1_header", PARAM_STR, &custom_field1_header},
@@ -824,7 +824,7 @@ static int mod_init(void)
c = capture_modes_root;
while(c) {
- /*for the default capture_mode, don't add it's name to the stat name*/
+ /*for the default capture_mode, don't add its name to the stat name*/
def = (capture_def && c == capture_def) ? 1 : 0;
stat_name = (char *)shm_malloc(
sizeof(char)