@SuppressWarnings("deprecation")
public void testLookupDevAndLookupNetDeprecatedAPI() {
String device = Pcap.lookupDev(errbuf);
assertNotNull(errbuf.toString(), device);
JNumber netp = new JNumber(Type.INT);
JNumber maskp = new JNumber(Type.INT);
int r = Pcap.lookupNet(device, netp, maskp, errbuf);
assertEquals(errbuf.toString(), 0, r);
System.out.printf("device=%s netp=%X maskp=%X errbuf=%s\n", device, netp
.intValue(), maskp.intValue(), errbuf.toString());
}