We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f501fd commit c523be5Copy full SHA for c523be5
adafruit_wiznet5k/adafruit_wiznet5k_dns.py
@@ -244,7 +244,7 @@ def _build_dns_question(self):
244
# append the sz of the section
245
self._pkt_buf.append(len(host[i]))
246
# append the section data
247
- self._pkt_buf += host[i]
+ self._pkt_buf += bytes(host[i], "utf-8")
248
# end of the name
249
self._pkt_buf.append(0x00)
250
# Type A record
0 commit comments