Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: wg(4) logging enhancement - revised patch
To:
Vitaliy Makkoveev <otto@bsdbox.dev>
Cc:
Lloyd <ng2d68@proton.me>, Stuart Henderson <stu@spacehopper.org>, "tech@openbsd.org" <tech@openbsd.org>
Date:
Wed, 01 Jan 2025 23:02:57 -0700

Download raw body.

Thread
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.