Integer getIfType(int ifIndex) {
int ifType = getCollector().getIfType(ifIndex);
return (ifType == -1 ? null : new Integer(ifType));
}
String getNetMask(int ifIndex) {
<BUG>InetAddress[] ifAddressAndMask = getCollector().getIfAddressAndMask(ifIndex);

if (ifAddressAndMask != null && ifAddressAndMask.length > 1 && ifAddressAndMask[1] != null)
return ifAddressAndMask[1].getHostAddress();
return null;</BUG>
}

Integer getIfType(int ifIndex) {
int ifType = getCollector().getIfType(ifIndex);
return (ifType == -1 ? null : new Integer(ifType));
}
String getNetMask(int ifIndex) {
InetAddress addr = getCollector().getIpAddrTable().getNetMask(ifIndex);
return (addr == null ? null : addr.getHostAddress());
}
