[sr-dev] git:5.5:f481071a: sipdump: fixed typo
Olle E. Johansson
oej at edvina.net
Tue Jun 1 10:04:04 CEST 2021
> On 1 Jun 2021, at 08:32, Henning Westerholt <hw at skalatan.de> wrote:
>
> Module: kamailio
> Branch: 5.5
> Commit: f481071a671009f1dcc9fe5d36870e06edc2ec4b
> URL: https://github.com/kamailio/kamailio/commit/f481071a671009f1dcc9fe5d36870e06edc2ec4b
>
> Author: Sergey Safarov <s.safarov at gmail.com>
> Committer: Henning Westerholt <hw at 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/f481071a671009f1dcc9fe5d36870e06edc2ec4b.diff
> Patch: https://github.com/kamailio/kamailio/commit/f481071a671009f1dcc9fe5d36870e06edc2ec4b.patch
>
> ---
>
> 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
More information about the sr-dev
mailing list