Show More
@@ -770,7 +770,7 b' class DNSOutgoing(object):' | |||
|
770 | 770 | |
|
771 | 771 | def writeString(self, value, length): |
|
772 | 772 | """Writes a string to the packet""" |
|
773 |
format = |
|
|
773 | format = '!' + str(length) + 's' | |
|
774 | 774 | self.data.append(struct.pack(format, value)) |
|
775 | 775 | self.size += length |
|
776 | 776 |
General Comments 0
You need to be logged in to leave comments.
Login now