Module: kamailio
Branch: 5.4
Commit: affe55c269f77e280f8400fc6c2a5dee61a2b877
URL:
https://github.com/kamailio/kamailio/commit/affe55c269f77e280f8400fc6c2a5de…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Henning Westerholt <hw(a)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/affe55c269f77e280f8400fc6c2a5de…
Patch:
https://github.com/kamailio/kamailio/commit/affe55c269f77e280f8400fc6c2a5de…
---
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;