[sr-dev] git:master:eba52922: cores: updates for FL_ADD_XAVP_VIA_PARAMS

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 4 16:52:36 CEST 2018


Module: kamailio
Branch: master
Commit: eba52922121a5ab9e0eeef113b738549c8275612
URL: https://github.com/kamailio/kamailio/commit/eba52922121a5ab9e0eeef113b738549c8275612

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-10-04T14:15:21+02:00

cores: updates for FL_ADD_XAVP_VIA_PARAMS

---

Modified: src/modules/corex/corex_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/eba52922121a5ab9e0eeef113b738549c8275612.diff
Patch: https://github.com/kamailio/kamailio/commit/eba52922121a5ab9e0eeef113b738549c8275612.patch

---

diff --git a/src/modules/corex/corex_mod.c b/src/modules/corex/corex_mod.c
index 6e60277d68..431d25ad16 100644
--- a/src/modules/corex/corex_mod.c
+++ b/src/modules/corex/corex_mod.c
@@ -775,9 +775,9 @@ static int ki_via_add_xavp_params(sip_msg_t *msg, int fval)
 	if(msg==NULL)
 		return -1;
 	if(fval) {
-		msg->msg_flags |= FL_ADD_XAVP_VIA;
+		msg->msg_flags |= FL_ADD_XAVP_VIA_PARAMS;
 	} else {
-		msg->msg_flags &= ~(FL_ADD_XAVP_VIA);
+		msg->msg_flags &= ~(FL_ADD_XAVP_VIA_PARAMS);
 	}
 	return 1;
 }




More information about the sr-dev mailing list