Author: toad
Date: 2007-04-25 19:28:08 +0000 (Wed, 25 Apr 2007)
New Revision: 12955
Modified:
trunk/plugins/JSTUN/JSTUN.java
Log:
Fix the build, fix inexact last argument
Modified: trunk/plugins/JSTUN/JSTUN.java
===================================================================
--- trunk/plugins/JSTUN/JSTUN.java 2007-04-25 19:11:07 UTC (rev 12954)
+++ trunk/plugins/JSTUN/JSTUN.java 2007-04-25 19:28:08 UTC (rev 12955)
@@ -180,11 +180,10 @@
Class c = nif.getClass();
Method m =
c.getDeclaredMethod("getMTU", new Class[0]);
if(m != null) {
- Integer iMTU =
(Integer) m.invoke(nif, null);
+ Integer iMTU =
(Integer) m.invoke(nif, new Object[0]);
if(iMTU != null) {
mtu =
iMTU.intValue();
System.err.println("Found interface MTU: "+nif+" : "+mtu);
- break;
}
}
} catch (Throwable t) {