Land #8348, typo fix in Net::DNS

Since the lib is vendored, I doubt it'd get fixed otherwise.
bug/bundler_fix
William Vu 2017-05-05 14:17:41 -05:00
commit fa47092bfe
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ module Net # :nodoc:
name = ""
packetlen = packet.size
while true
raise ExpandError, "offset is greater than packet lenght!" if packetlen < (offset+1)
raise ExpandError, "offset is greater than packet length!" if packetlen < (offset+1)
len = packet.unpack("@#{offset} C")[0]
if len == 0