[sr-dev] git:master:03482fb2: core: dst info attribute set for SREV_NET_DATA_OUT

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 15 07:30:43 CEST 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-06-15T07:01:55+02:00

core: dst info attribute set for SREV_NET_DATA_OUT

---

Modified: src/core/forward.h

---

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

---

diff --git a/src/core/forward.h b/src/core/forward.h
index deeeeb2ebe..e267f03cd1 100644
--- a/src/core/forward.h
+++ b/src/core/forward.h
@@ -137,6 +137,7 @@ static inline int msg_send_buffer(struct dest_info* dst, char* buf, int len,
 	outb.len = len;
 	if(!(flags&1)) {
 		evp.data = (void*)&outb;
+		evp.dst = dst;
 		sr_event_exec(SREV_NET_DATA_OUT, &evp);
 	}
 




More information about the sr-dev mailing list