Skip to content

Commit

Permalink
Made dns.py more Python3-friendly.
Browse files Browse the repository at this point in the history
Implemented the Jaisaiarun fix from issue noxrepo#251 (noxrepo#251).
  • Loading branch information
mattall authored May 19, 2021
1 parent 5f82461 commit 28c362f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pox/lib/packet/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def _read_dns_name_from_index(cls, l, index, retlist):
def read_dns_name_from_index(cls, l, index):
retlist = []
next = cls._read_dns_name_from_index(l, index, retlist)
return (next + 1, ".".join(retlist))
return (next + 1, b".".join(retlist))

def next_rr(self, l, index, rr_list):
array_len = len(l)
Expand Down

0 comments on commit 28c362f

Please sign in to comment.