Permalink
Browse files

bugfix

  • Loading branch information...
1 parent 8964bdc commit 20ebcc5d3ef379528ac67dad72a635fd22fdb1d2 @ryanbreed committed May 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dns_parser.rb
View
@@ -40,7 +40,7 @@ class UdpFrame <BitStruct
alias_method :original_to_h, :to_h
alias_method :original_initialize, :initialize
def initialize(pkt)
- p=original_new(pkt.body)
+ p=original_initialize(pkt.body)
p.timestamp=pkt.timestamp.utc.to_i
p
end

0 comments on commit 20ebcc5

Please sign in to comment.