mirror of
https://github.com/arduino/Arduino.git
synced 2025-04-05 21:40:24 +02:00
Port fixes for upstream jmdns
This commit is contained in:
parent
0df438b817
commit
0c8aebd6e8
@ -40,6 +40,7 @@
|
|||||||
<classpathentry kind="lib" path="lib/java-semver-0.8.0.jar"/>
|
<classpathentry kind="lib" path="lib/java-semver-0.8.0.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/jmdns-3.5.1.jar"/>
|
<classpathentry kind="lib" path="lib/jmdns-3.5.1.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/slf4j-api-1.7.22.jar"/>
|
<classpathentry kind="lib" path="lib/slf4j-api-1.7.22.jar"/>
|
||||||
|
<classpathentry kind="lib" path="lib/slf4j-simple-1.7.22.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/jsch-0.1.50.jar"/>
|
<classpathentry kind="lib" path="lib/jsch-0.1.50.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/jssc-2.8.0.jar"/>
|
<classpathentry kind="lib" path="lib/jssc-2.8.0.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/rsyntaxtextarea-2.5.8.1+arduino.jar"/>
|
<classpathentry kind="lib" path="lib/rsyntaxtextarea-2.5.8.1+arduino.jar"/>
|
||||||
|
BIN
app/lib/slf4j-simple-1.7.22.jar
Normal file
BIN
app/lib/slf4j-simple-1.7.22.jar
Normal file
Binary file not shown.
@ -7,6 +7,7 @@
|
|||||||
<classpathentry kind="lib" path="lib/commons-net-3.3.jar"/>
|
<classpathentry kind="lib" path="lib/commons-net-3.3.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/jmdns-3.5.1.jar"/>
|
<classpathentry kind="lib" path="lib/jmdns-3.5.1.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/slf4j-api-1.7.22.jar"/>
|
<classpathentry kind="lib" path="lib/slf4j-api-1.7.22.jar"/>
|
||||||
|
<classpathentry kind="lib" path="lib/slf4j-simple-1.7.22.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/jssc-2.8.0.jar"/>
|
<classpathentry kind="lib" path="lib/jssc-2.8.0.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/jsch-0.1.50.jar"/>
|
<classpathentry kind="lib" path="lib/jsch-0.1.50.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/commons-exec-1.1.jar"/>
|
<classpathentry kind="lib" path="lib/commons-exec-1.1.jar"/>
|
||||||
|
BIN
arduino-core/lib/slf4j-simple-1.7.22.jar
Normal file
BIN
arduino-core/lib/slf4j-simple-1.7.22.jar
Normal file
Binary file not shown.
@ -5,6 +5,7 @@ import javax.jmdns.impl.DNSTaskStarter;
|
|||||||
import javax.jmdns.impl.JmDNSImpl;
|
import javax.jmdns.impl.JmDNSImpl;
|
||||||
import javax.jmdns.impl.ServiceInfoImpl;
|
import javax.jmdns.impl.ServiceInfoImpl;
|
||||||
import javax.jmdns.impl.tasks.RecordReaper;
|
import javax.jmdns.impl.tasks.RecordReaper;
|
||||||
|
import java.net.InetAddress;
|
||||||
import java.util.Timer;
|
import java.util.Timer;
|
||||||
|
|
||||||
public class ArduinoDNSTaskStarter implements DNSTaskStarter.Factory.ClassDelegate {
|
public class ArduinoDNSTaskStarter implements DNSTaskStarter.Factory.ClassDelegate {
|
||||||
@ -86,8 +87,8 @@ public class ArduinoDNSTaskStarter implements DNSTaskStarter.Factory.ClassDelega
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void startResponder(DNSIncoming in, int port) {
|
public void startResponder(DNSIncoming in, InetAddress addr, int port) {
|
||||||
delegate.startResponder(in, port);
|
delegate.startResponder(in, addr, port);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user