Page MenuHomeFreeBSD

D32715.diff
No OneTemporary

D32715.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
Wed, Dec 25, 8:18 PM (11 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15598467
Default Alt Text
D32715.diff (384 B)

Event Timeline