summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f78304d)
svn path=/trunk/; revision=19125
- * display multiple adapters
* fix renew / release
* implement flushdns, registerdns, displaydns, showclassid, setclassid
* allow globbing on adapter names
* fix renew / release
* implement flushdns, registerdns, displaydns, showclassid, setclassid
* allow globbing on adapter names
_tprintf(_T("\nReactOS IP Configuration\n\n"));
_tprintf(_T("\nReactOS IP Configuration\n\n"));
}
_tprintf(_T("\n%s ...... : \n\n"), GetInterfaceTypeName(pAdapter->Type));
}
_tprintf(_T("\n%s ...... : \n\n"), GetInterfaceTypeName(pAdapter->Type));
+
+ /* check if the adapter is connected to the media */
+ if (_tcscmp(pAdapter->IpAddressList.IpAddress.String, "0.0.0.0") == 0)
+ {
+ _tprintf(_T("\tMedia State . . . . . . . . . . . : Media disconnected\n"));
+ pAdapter = pAdapter->Next;
+ continue;
+ }
+
_tprintf(_T("\tConnection-specific DNS Suffix. . : %s\n"), pFixedInfo->DomainName);
if (bAll)
_tprintf(_T("\tConnection-specific DNS Suffix. . : %s\n"), pFixedInfo->DomainName);
if (bAll)
pAdapter = pAdapter->Next;
pAdapter = pAdapter->Next;