FreeBSD Bugzilla – Attachment 13971 Details for
Bug 26359
[PATCH] a minor nit in how netstat detects 'server sockets'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1007 bytes, created by
Peter Pentchev
on 2001-04-04 22:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Peter Pentchev
Created:
2001-04-04 22:10:01 UTC
Size:
1007 bytes
patch
obsolete
>Index: src/usr.bin/netstat/inet.c >=================================================================== >RCS file: /home/ncvs/src/usr.bin/netstat/inet.c,v >retrieving revision 1.41 >diff -u -r1.41 inet.c >--- src/usr.bin/netstat/inet.c 2001/03/15 20:46:04 1.41 >+++ src/usr.bin/netstat/inet.c 2001/04/04 20:33:51 >@@ -189,17 +189,17 @@ > if (!aflag && > ( > (af == AF_INET && >- inet_lnaof(inp->inp_laddr) == INADDR_ANY) >+ inet_lnaof(inp->inp_faddr) == INADDR_ANY) > #ifdef INET6 > || (af == AF_INET6 && >- IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr)) >+ IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_faddr)) > #endif /* INET6 */ > || (af == AF_UNSPEC && > (((inp->inp_vflag & INP_IPV4) != 0 && >- inet_lnaof(inp->inp_laddr) == INADDR_ANY) >+ inet_lnaof(inp->inp_faddr) == INADDR_ANY) > #ifdef INET6 > || ((inp->inp_vflag & INP_IPV6) != 0 && >- IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr)) >+ IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_faddr)) > #endif > )) > ))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26359
: 13971