changes java sample according to change of upnpDiscover()

should have been included in 1da63faa4f
This commit is contained in:
Thomas Bernard 2015-09-04 18:06:11 +02:00
parent 26960a8a25
commit b6668e628d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class JavaBridgeTest {
return;
}
devlist = miniupnpc.upnpDiscover(UPNP_DELAY, (String) null, (String) null, 0, 0, IntBuffer.allocate(1));
devlist = miniupnpc.upnpDiscover(UPNP_DELAY, (String) null, (String) null, 0, 0, (byte)2, IntBuffer.allocate(1));
if (devlist != null) {
System.out.println("List of UPNP devices found on the network :");
for (UPNPDev device = devlist; device != null; device = device.pNext) {