How can I get ip from udp?

Hi All;

I have a message from UDP protocol. I would like to get ip from UDP for message of arrival. How should I do? Could you please advise me about tactic or function for use this my issue?

Thank you,
Best regards.

Hi All;

I am done. I use to template block {{ip}} and I use to function msg.ip = msg.payload.

Thank you,
Best regards.

The shortcut would be to use a change node to "Set" msg.payload to msg.ip