aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/measite/minidns/DNSMessage.java
diff options
context:
space:
mode:
authorRene Treffer <treffer@measite.de>2014-07-22 23:22:35 +0200
committerRene Treffer <treffer@measite.de>2014-07-22 23:22:35 +0200
commit6eda21b4162d8a57c26da5b38595581490fbe2d2 (patch)
treec19fae655079a684e52a4b15ce5d55a462be19a5 /src/main/java/de/measite/minidns/DNSMessage.java
parentbc621bfcfbede74251a29c7ef7513498baa4062d (diff)
Add PTR record parsing
Diffstat (limited to 'src/main/java/de/measite/minidns/DNSMessage.java')
-rw-r--r--src/main/java/de/measite/minidns/DNSMessage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/measite/minidns/DNSMessage.java b/src/main/java/de/measite/minidns/DNSMessage.java
index fbee3b19..01c09645 100644
--- a/src/main/java/de/measite/minidns/DNSMessage.java
+++ b/src/main/java/de/measite/minidns/DNSMessage.java
@@ -424,7 +424,7 @@ public class DNSMessage {
message.authenticData = ((header >> 5) & 1) == 1;
message.checkDisabled = ((header >> 4) & 1) == 1;
message.responseCode = RESPONSE_CODE.getResponseCode(header & 0xf);
- message.receiveTimestamp = System.currentTimeMillis();
+ message.receiveTimestamp = System.currentTimeMillis();
int questionCount = dis.readUnsignedShort();
int answerCount = dis.readUnsignedShort();
int nameserverCount = dis.readUnsignedShort();