Page MenuHomeFreeBSD

D53212.id164584.diff
No OneTemporary

D53212.id164584.diff

diff --git a/usr.bin/sockstat/main.c b/usr.bin/sockstat/main.c
--- a/usr.bin/sockstat/main.c
+++ b/usr.bin/sockstat/main.c
@@ -1196,7 +1196,9 @@
first = true;
len = strlen(s->protoname);
- if (s->vflag & (INP_IPV4 | INP_IPV6))
+ if (s->vflag & INP_IPV4)
+ len += 1;
+ if (s->vflag & INP_IPV6)
len += 1;
cw->proto = MAX(cw->proto, len);

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 11, 10:20 AM (17 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36481810
Default Alt Text
D53212.id164584.diff (351 B)

Event Timeline