Download raw body.
wg(4) logging enhancement - revised patch
No, printf should not print IP addresses. Create a helper function that returns a static string, and print it with %. Yes that means you can'to do two of them nicely in one call. That's not terribly rough. That is how this is done in userland.
wg(4) logging enhancement - revised patch