On 1 Jun 2021, at 08:32, Henning Westerholt
<hw(a)skalatan.de> wrote:
Module: kamailio
Branch: 5.5
Commit: f481071a671009f1dcc9fe5d36870e06edc2ec4b
URL:
https://github.com/kamailio/kamailio/commit/f481071a671009f1dcc9fe5d36870e0…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2021-06-01T06:32:25Z
sipdump: fixed typo
That’s not a typo, that is a change in the logic (to be picky).
/O
(cherry picked from commit 7f226f5b08c93ed0a43113d7947730329ff7db38)
---
Modified: src/modules/sipdump/sipdump_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f481071a671009f1dcc9fe5d36870e0…
Patch:
https://github.com/kamailio/kamailio/commit/f481071a671009f1dcc9fe5d36870e0…
---
diff --git a/src/modules/sipdump/sipdump_mod.c b/src/modules/sipdump/sipdump_mod.c
index 54b5c47484..0384458639 100644
--- a/src/modules/sipdump/sipdump_mod.c
+++ b/src/modules/sipdump/sipdump_mod.c
@@ -575,7 +575,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;
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev