Module: kamailio
Branch: master
Commit: c28b3a0ae61c9fd1fc8e8b2972686a0f8424c44a
URL:
https://github.com/kamailio/kamailio/commit/c28b3a0ae61c9fd1fc8e8b2972686a0…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-02-13T12:14:59+01:00
ipops: typos
---
Modified: src/modules/ipops/ipops_mod.c
Modified: src/modules/ipops/ipops_pv.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c28b3a0ae61c9fd1fc8e8b2972686a0…
Patch:
https://github.com/kamailio/kamailio/commit/c28b3a0ae61c9fd1fc8e8b2972686a0…
---
diff --git a/src/modules/ipops/ipops_mod.c b/src/modules/ipops/ipops_mod.c
index d9f01317e5..a9f3962f61 100644
--- a/src/modules/ipops/ipops_mod.c
+++ b/src/modules/ipops/ipops_mod.c
@@ -695,7 +695,7 @@ static int ki_is_ip6_reference(sip_msg_t *msg, str *sval)
}
/*! \brief Return the IP type of the given argument (string or pv):
- * 1 = IPv4, 2 = IPv6, 3 = IPv6 refenrece, -1 = invalid IP. */
+ * 1 = IPv4, 2 = IPv6, 3 = IPv6 reference, -1 = invalid IP. */
static int w_ip_type(sip_msg_t* _msg, char* _s, char *_p2)
{
str string;
@@ -728,7 +728,7 @@ static int w_ip_type(sip_msg_t* _msg, char* _s, char *_p2)
}
/*! \brief Return the IP type of the given argument (string or pv):
- * 1 = IPv4, 2 = IPv6, 3 = IPv6 refenrece, -1 = invalid IP. */
+ * 1 = IPv4, 2 = IPv6, 3 = IPv6 reference, -1 = invalid IP. */
static int ki_ip_type(sip_msg_t *msg, str *sval)
{
switch (ip_parser_execute(sval->s, sval->len)) {
@@ -990,7 +990,7 @@ static int w_compare_pure_ips(sip_msg_t* _msg, char* _s1, char* _s2)
}
/*! \brief Return true if the first IP (string or pv) is within the subnet
- * defined by the second commma-separated IP list in CIDR notation.
+ * defined by the second comma-separated IP list in CIDR notation.
* IPv6 references not allowed. */
static int ki_ip_is_in_subnet(sip_msg_t* _msg, str* _sval1, str* _sval2)
{
@@ -1042,7 +1042,7 @@ static int ki_ip_is_in_subnet(sip_msg_t* _msg, str* _sval1, str*
_sval2)
/*! \brief Return true if the first IP (string or pv) is within the subnet
- * defined by the second commma-separated IP list in CIDR notation.
+ * defined by the second comma-separated IP list in CIDR notation.
* IPv6 references not allowed. */
static int w_ip_is_in_subnet(sip_msg_t* _msg, char* _s1, char* _s2)
{
diff --git a/src/modules/ipops/ipops_pv.c b/src/modules/ipops/ipops_pv.c
index 9ee6f5879a..4eabbcac86 100644
--- a/src/modules/ipops/ipops_pv.c
+++ b/src/modules/ipops/ipops_pv.c
@@ -109,7 +109,7 @@ sr_dns_item_t *sr_dns_add_item(str *name)
n++;
}
if(n > 20) {
- LM_WARN("too many dns containers - adding nunmber %d - can fill memory\n",
+ LM_WARN("too many dns containers - adding number %d - can fill memory\n",
n);
}