Module: kamailio
Branch: master
Commit: 3565caf3b0f2ac28f7d2993213e4d3ef6a21a2fb
URL:
https://github.com/kamailio/kamailio/commit/3565caf3b0f2ac28f7d2993213e4d3e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-10-14T10:43:45+02:00
core: set receive infor for sr event SREV_NET_DATA_IN
---
Modified: src/core/receive.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3565caf3b0f2ac28f7d2993213e4d3e…
Patch:
https://github.com/kamailio/kamailio/commit/3565caf3b0f2ac28f7d2993213e4d3e…
---
diff --git a/src/core/receive.c b/src/core/receive.c
index 28c2c7971a..bb9342a414 100644
--- a/src/core/receive.c
+++ b/src/core/receive.c
@@ -149,6 +149,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info*
rcv_info)
inb.s = buf;
inb.len = len;
evp.data = (void*)&inb;
+ evp.rcv = rcv_info;
sr_event_exec(SREV_NET_DATA_IN, &evp);
len = inb.len;