From: "Omar Polo" Subject: Re: ifconfig wg: "humanify" last handshake To: Stuart Henderson Cc: tech@openbsd.org Date: Thu, 07 Aug 2025 10:38:32 +0200 Stuart Henderson wrote: > On 2025/08/06 16:34, Omar Polo wrote: > > + else if (delta > 60 * 60 * 2) > > + r = snprintf(buf, sizeof(buf), "%lld hours ago", > > + delta / (60 * 60)); > > + else if (delta > 60 * 2) > > + r = snprintf(buf, sizeof(buf), "%lld minutes ago", > > + delta / 60); > > "3 minutes ago" loses a lot of information compared to (180..239) seconds. mmhh, yeah, you're right. Honestly I don't look often at the last handshake, usually just when something is not working, like the other day, i care to look. i also understand theo's point. i'll continue runinng python to do the math to understand how much time passed :-) Sorry for the noise. Cheers, Omar Polo