Discussion:
[sr-dev] git:5.4:affe55c2: sipdump: fixed typo
Henning Westerholt
2021-06-01 06:32:14 UTC
Permalink
Content preview: Module: kamailio Branch: 5.4 Commit: affe55c269f77e280f8400fc6c2a5dee61a2b877
URL: https://github.com/kamailio/kamailio/commit/affe55c269f77e280f8400fc6c2a5dee61a2b877
Author: Sergey Safarov <***@gmail.com> Committer: Henning Westerholt
<***@skalatan.de> Date: 2021-06-01T06:32:05Z

Content analysis details: (-3.7 points, 5.5 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager

Module: kamailio
Branch: 5.4
Commit: affe55c269f77e280f8400fc6c2a5dee61a2b877
URL: https://github.com/kamailio/kamailio/commit/affe55c269f77e280f8400fc6c2a5dee61a2b877

Author: Sergey Safarov <***@gmail.com>
Committer: Henning Westerholt <***@skalatan.de>
Date: 2021-06-01T06:32:05Z

sipdump: fixed typo

(cherry picked from commit 7f226f5b08c93ed0a43113d7947730329ff7db38)

---

Modified: src/modules/sipdump/sipdump_mod.c

---

Diff: https://github.com/kamailio/kamailio/commit/affe55c269f77e280f8400fc6c2a5dee61a2b877.diff
Patch: https://github.com/kamailio/kamailio/commit/affe55c269f77e280f8400fc6c2a5dee61a2b877.patch

---

diff --git a/src/modules/sipdump/sipdump_mod.c b/src/modules/sipdump/sipdump_mod.c
index 41550e78f2..553daa01df 100644
--- a/src/modules/sipdump/sipdump_mod.c
+++ b/src/modules/sipdump/sipdump_mod.c
@@ -629,7 +629,7 @@ int pv_parse_sipdump_name(pv_spec_t *sp, str *in)
case 8:
if(strncmp(in->s, "src_port", 8)==0)
sp->pvp.pvn.u.isname.name.n = 8;
- if(strncmp(in->s, "dst_port", 8)==0)
+ else if(strncmp(in->s, "dst_port", 8)==0)
sp->pvp.pvn.u.isname.name.n = 9;
else goto error;
break;

Loading...