Can you explain in more details what is happening now and how it changes with this PR?

Also, I noticed that instead of a reference in an output parameter, now it makes a hard copy:

-			*from = &si->su;
+			memcpy(*from, &si->su, sockaddru_len(si->su));

A reference has the size of a pointer, but the commit is copying data of size sockaddru_len(si->su). Is it really correct and what you wanted to do?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3925/c2236287429@github.com>