]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Cast flags and ednsflags to int when calling dns.rcode.from_flags() and
authorBob Halley <halley@dnspython.org>
Mon, 4 Jan 2021 21:49:50 +0000 (13:49 -0800)
committerBob Halley <halley@dnspython.org>
Mon, 4 Jan 2021 21:49:50 +0000 (13:49 -0800)
commit5103169149bbf8fb1d5da803d4a408b7fefda511
tree16c871fdb99bfc35dcf5398e505ed649bd9308da
parent14bbb9ce8865dd41465f85a1fce23989b5cb3cd0
Cast flags and ednsflags to int when calling dns.rcode.from_flags() and
dns.opcode.from_flags().  This avoids subsequent to_text issues and other
type confusion if the values were allowed to remain IntFlags.
dns/message.py