Skip to content

Commit

Permalink
Update wdns.pyx
Browse files Browse the repository at this point in the history
Fix for the following stack trace;
  File "wdns.pyx", line 593, in wdns.parse_message
  File "wdns.pyx", line 858, in wdns.edns.__init__
TypeError: Expected str, got bytes
farsightsec#19
  • Loading branch information
jwahsnakupaku authored Feb 20, 2023
1 parent 2476c26 commit 726780b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wdns.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -845,10 +845,10 @@ cdef class edns(object):
@ivar size: Maximum message size
@type size: int
"""
cdef public str options
cdef public bytes options
"""
@ivar options: OPT RR contents
@type options: str
@type options: bytes
"""

def __init__(self, version, flags, size, options):
Expand Down

0 comments on commit 726780b

Please sign in to comment.