Module: kamailio Branch: 5.4 Commit: bec6cdf10dfbf9f32fce041987a3468b8a675a22 URL: https://github.com/kamailio/kamailio/commit/bec6cdf10dfbf9f32fce041987a3468b...
Author: Aleksandar Yosifov alexyosifov@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-11-19T13:27:38+01:00
core: added missing field in sip_msg_update_buffer
- added a missing field in sip_msg_update_buffer() when restoring message fiedls: msg->pid.
(cherry picked from commit 57be5c1f33344275c15777a7927d9c48df4a69ba)
---
Modified: src/core/msg_translator.c
---
Diff: https://github.com/kamailio/kamailio/commit/bec6cdf10dfbf9f32fce041987a3468b... Patch: https://github.com/kamailio/kamailio/commit/bec6cdf10dfbf9f32fce041987a3468b...
---
diff --git a/src/core/msg_translator.c b/src/core/msg_translator.c index fd183d4f80..77b90a92c6 100644 --- a/src/core/msg_translator.c +++ b/src/core/msg_translator.c @@ -3276,6 +3276,7 @@ int sip_msg_update_buffer(sip_msg_t *msg, str *obuf) /* restore msg fields */ msg->buf = tmp.buf; msg->id = tmp.id; + msg->pid = tmp.pid; msg->rcv = tmp.rcv; msg->set_global_address = tmp.set_global_address; msg->set_global_port = tmp.set_global_port;