mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-11 22:03:09 -06:00
SysInfo_demo_console: Added more ip6 support
git-svn-id: svn://ultimatepp.org/upp/trunk@7516 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f885745462
commit
bb032f4780
1 changed files with 3 additions and 3 deletions
|
|
@ -39,9 +39,9 @@ void Test()
|
|||
Puts(Format("System: %s", GetSystemFolder()));
|
||||
|
||||
Puts("\nNetwork info");
|
||||
String nname, domain;
|
||||
if (GetNetworkInfo(nname, domain))
|
||||
Puts(Format("Name '%s', Domain '%s'", nname, domain));
|
||||
String nname, domain, ip4, ip6;
|
||||
if (GetNetworkInfo(nname, domain, ip4, ip6))
|
||||
Puts(Format("Name '%s', Domain '%s', IP4 '%s', IP6 '%s'", nname, domain, ip4, ip6));
|
||||
else
|
||||
Puts("Problem reading newtwork data");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue