NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/60329: setkey -D's output is limited to 80 columns
>Number: 60329
>Category: bin
>Synopsis: setkey -D's output is limited to 80 columns
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 13 16:05:00 +0000 2026
>Originator: cagney
>Release: mainline
>Organization:
libreswan
>Environment:
# uname -a
NetBSD netbsd 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
... which is so '80's :-)
specifically:
```
void
ipsec_hexdump(caddr_t buf, int len)
{
int i;
for (i = 0; i < len; i++) {
if (i != 0 && i % 32 == 0) printf("\n");
if (i % 4 == 0) printf(" ");
printf("%02x", (unsigned char)buf[i]);
}
#if 0
if (i % 32 != 0) printf("\n");
#endif
return;
}
```
A way to turn this off would be nice.
>How-To-Repeat:
Feed a large key to pfkeyv2
>Fix:
Home |
Main Index |
Thread Index |
Old Index