Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaxxz committed Apr 7, 2015
1 parent f47a82a commit e08f5f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions decode/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ DNS.prototype.eventsOnDecode = true;

// http://tools.ietf.org/html/rfc1035
DNS.prototype.decode = function (raw_packet, offset) {
this.raw_packet = raw_packet;
this.offset = offset;
this.header = new DNSHeader(raw_packet, this.offset);
this.offset += 12;

Expand Down

0 comments on commit e08f5f1

Please sign in to comment.