From 770111484910cf0b63f07e2090eb403c7edac309 Mon Sep 17 00:00:00 2001 From: Alexandr Dubovikov Date: Mon, 18 Apr 2016 14:49:14 +0200 Subject: [PATCH] fixed type for rtpagent report --- modules/sipcapture/sipcapture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index 41d153e8c86..d0b4e546a45 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -2276,10 +2276,10 @@ int receive_logging_json_msg(char * buf, unsigned int len, struct hep_generic_re /* type of proto */ - if (hg->proto_t->data == 5) sco.type = 1; + if (hg->proto_t->data == 5) sco.type = 3; else if (hg->proto_t->data == 32) sco.type = 2; - else if (hg->proto_t->data == 99) sco.type = 1; - else if (hg->proto_t->data == 100) sco.type = 1; + else if (hg->proto_t->data == 99) sco.type = 4; + else if (hg->proto_t->data == 100) sco.type = 5; /*source ip*/