output NetInfo.getDefaultGatewayInterface
This commit is contained in:
parent
7496b795e4
commit
ff5aa70493
|
@ -62,7 +62,8 @@ public class NetInfo extends SigarCommandBase {
|
||||||
info.getDomainName());
|
info.getDomainName());
|
||||||
|
|
||||||
println("default gateway......." +
|
println("default gateway......." +
|
||||||
info.getDefaultGateway());
|
info.getDefaultGateway() +
|
||||||
|
" (" + info.getDefaultGatewayInterface() + ")");
|
||||||
|
|
||||||
println("primary dns..........." +
|
println("primary dns..........." +
|
||||||
info.getPrimaryDns());
|
info.getPrimaryDns());
|
||||||
|
|
Loading…
Reference in New Issue