Module: kamailio
Branch: master
Commit: 7f226f5b08c93ed0a43113d7947730329ff7db38
URL:
https://github.com/kamailio/kamailio/commit/7f226f5b08c93ed0a43113d79477303…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2021-06-01T08:31:15+02:00
sipdump: fixed typo
---
Modified: src/modules/sipdump/sipdump_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7f226f5b08c93ed0a43113d79477303…
Patch:
https://github.com/kamailio/kamailio/commit/7f226f5b08c93ed0a43113d79477303…
---
diff --git a/src/modules/sipdump/sipdump_mod.c b/src/modules/sipdump/sipdump_mod.c
index 9b733dad66..77c7c8606f 100644
--- a/src/modules/sipdump/sipdump_mod.c
+++ b/src/modules/sipdump/sipdump_mod.c
@@ -662,7 +662,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;