Module: kamailio Branch: master Commit: 228eaef0d4e1cae97a23bedd8a6160585fa4e3da URL: https://github.com/kamailio/kamailio/commit/228eaef0d4e1cae97a23bedd8a616058...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: GitHub noreply@github.com Date: 2020-11-11T08:11:01+01:00
Merge pull request #2545 from alexyosifov/core_msg_translator
core: added missing field in sip_msg_update_buffer
---
Modified: src/core/msg_translator.c
---
Diff: https://github.com/kamailio/kamailio/commit/228eaef0d4e1cae97a23bedd8a616058... Patch: https://github.com/kamailio/kamailio/commit/228eaef0d4e1cae97a23bedd8a616058...
---
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;