aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/dns
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2015-03-21 10:23:55 +0200
committerDamian Minkov <damencho@jitsi.org>2015-03-21 10:47:19 +0200
commita630e9d50ea0aa53208256f9d80dfaeba7d04b18 (patch)
tree93b000569b5570bd139a439db6547ada94ba421e /src/net/java/sip/communicator/impl/dns
parentc62041b6299551e6714a316a0d819c318fe9a1b6 (diff)
downloadjitsi-a630e9d50ea0aa53208256f9d80dfaeba7d04b18.zip
jitsi-a630e9d50ea0aa53208256f9d80dfaeba7d04b18.tar.gz
jitsi-a630e9d50ea0aa53208256f9d80dfaeba7d04b18.tar.bz2
Updates dnsjava to 2.1.7 with included in upstream patch to set packet logger.
Diffstat (limited to 'src/net/java/sip/communicator/impl/dns')
-rw-r--r--src/net/java/sip/communicator/impl/dns/DnsJavaLogger.java7
-rw-r--r--src/net/java/sip/communicator/impl/dns/DnsUtilActivator.java2
2 files changed, 5 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/impl/dns/DnsJavaLogger.java b/src/net/java/sip/communicator/impl/dns/DnsJavaLogger.java
index 45617e9..bcf7982 100644
--- a/src/net/java/sip/communicator/impl/dns/DnsJavaLogger.java
+++ b/src/net/java/sip/communicator/impl/dns/DnsJavaLogger.java
@@ -18,7 +18,7 @@ import java.net.*;
* @author Damian Minkov
*/
public class DnsJavaLogger
- implements CustomLogger
+ implements PacketLogger
{
/**
* The logger.
@@ -49,9 +49,10 @@ public class DnsJavaLogger
}
@Override
- public void log(SocketAddress local,
+ public void log(String prefix,
+ SocketAddress local,
SocketAddress remote,
- String prefix, byte[] data)
+ byte[] data)
{
// make sure that error here will not stop further processing
try
diff --git a/src/net/java/sip/communicator/impl/dns/DnsUtilActivator.java b/src/net/java/sip/communicator/impl/dns/DnsUtilActivator.java
index f65c3e8..e9f044d 100644
--- a/src/net/java/sip/communicator/impl/dns/DnsUtilActivator.java
+++ b/src/net/java/sip/communicator/impl/dns/DnsUtilActivator.java
@@ -111,7 +111,7 @@ public class DnsUtilActivator
if(Logger.getLogger("org.xbill").isTraceEnabled())
Options.set("verbose", "1");
- Lookup.setCustomLogger(new DnsJavaLogger());
+ Lookup.setPacketLogger(new DnsJavaLogger());
if(loadDNSProxyForward())
{