Page MenuHomeFreeBSD

D32715.id98252.diff
No OneTemporary

D32715.id98252.diff

diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/sockstat.c
--- a/usr.bin/sockstat/sockstat.c
+++ b/usr.bin/sockstat/sockstat.c
@@ -874,7 +874,7 @@
switch (ss->ss_family) {
case AF_INET:
- if (inet_lnaof(sstosin(ss)->sin_addr) == INADDR_ANY)
+ if (sstosin(ss)->sin_addr.s_addr == INADDR_ANY)
addrstr[0] = '*';
port = ntohs(sstosin(ss)->sin_port);
break;

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 2:20 PM (11 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15782956
Default Alt Text
D32715.id98252.diff (384 B)

Event Timeline