Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
Description
On WXP,
netstat -a
ROS netstat:
'0.0.0.0' and '127.0.0.1' are resolved,
but '192.168.0.nnn' and '140.82.113.26' are not, for example.
WXP netstat:
does resolve them all.
–
It looks like code for this case(s) is commented out:
https://git.reactos.org/?p=reactos.git;a=blob;f=base/applications/network/netstat/netstat.c;hb=5e10c4ed32b4caeab9ec09b6d705973e7caaaad4#l551
556 GetIpHostName(BOOL Local, UINT IpAddr, CHAR Name[], INT NameLen) |
557 {
|
558 // struct hostent *phostent; |
...
|
575 if (!IpAddr) { |
...
|
586 } else if (IpAddr == 0x0100007f) { |
...
|
593 // } else if (phostent = gethostbyaddr((char*)&ipaddr, sizeof(nipaddr), PF_INET)) { |
594 // strcpy(name, phostent->h_name); |
595 } else { |
596 sprintf(Name, "%d.%d.%d.%d", |