&RemoteAddress[1],\r
&RemoteAddress[2],\r
&RemoteAddress[3]))\r
- || ( 255 < RemoteAddress [0])\r
- || ( 255 < RemoteAddress [1])\r
- || ( 255 < RemoteAddress [2])\r
- || ( 255 < RemoteAddress [3])) {\r
+ || ( 255 < RemoteAddress[0])\r
+ || ( 255 < RemoteAddress[1])\r
+ || ( 255 < RemoteAddress[2])\r
+ || ( 255 < RemoteAddress[3])) {\r
Print ( L"%a <IPv4 Address>\r\n", Argv[0]);\r
}\r
else {\r
IpAddress[3] = (UINT8)RemoteAddress[3];\r
pHost = gethostbyaddr ( &IpAddress[0], INADDRSZ, AF_INET );\r
if ( NULL == pHost ) {\r
- Print ( L"ERROR - host not found, errno: %d\r\n", errno );\r
+ Print ( L"ERROR - host not found, h_errno: %d\r\n", h_errno );\r
}\r
else {\r
- pIpAddress = (UINT8 *)pHost->h_addr_list [ 0 ];\r
+ pIpAddress = (UINT8 *)pHost->h_addr_list[ 0 ];\r
Print ( L"%d.%d.%d.%d, %a\r\n",\r
pIpAddress[0],\r
pIpAddress[1],\r