output NetInfo.getDefaultGatewayInterface

This commit is contained in:
Doug MacEachern 2009-08-15 06:11:02 -07:00
parent 7496b795e4
commit ff5aa70493
1 changed files with 2 additions and 1 deletions

View File

@ -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());