Module: kamailio
Branch: master
Commit: 16cea04b08c648bd32b036e35bdb10f4bfdafdff
URL:
https://github.com/kamailio/kamailio/commit/16cea04b08c648bd32b036e35bdb10f…
Author: David Villasmil <david.villasmil.work(a)gmail.com>
Committer: David Villasmil <david.villasmil.work(a)gmail.com>
Date: 2017-02-15T20:32:50Z
sipcapture: Fixed missing 'break' after case-switch.
- Added 'break' missing from a case/switch
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff:
https://github.com/kamailio/kamailio/commit/16cea04b08c648bd32b036e35bdb10f…
Patch:
https://github.com/kamailio/kamailio/commit/16cea04b08c648bd32b036e35bdb10f…
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c
index 5d5227c..c398c72 100644
--- a/src/modules/sipcapture/sipcapture.c
+++ b/src/modules/sipcapture/sipcapture.c
@@ -2772,10 +2772,11 @@ static int pv_parse_hep_name (pv_spec_p sp, str *in)
break;
case 6:
{
- if(!strncmp(in->s, "src_ip", 6)) sp->pvp.pvn.u.isname.name.n = 2;
- else if(!strncmp(in->s, "dst_ip", 6)) sp->pvp.pvn.u.isname.name.n =
3;
+ if(!strncmp(in->s, "src_ip", 6)) sp->pvp.pvn.u.isname.name.n = 2;
+ else if(!strncmp(in->s, "dst_ip", 6)) sp->pvp.pvn.u.isname.name.n = 3;
else goto error;
}
+ break;
case 7:
{
if(!strncmp(in->s, "version", 7)) sp->pvp.pvn.u.isname.name.n =
0;