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