Commit 66690ab8 authored by Ondřej Surý's avatar Ondřej Surý

Update script to print all 16 bytes of IPv6 addr

parent ee37faa8
......@@ -7,7 +7,7 @@ from binascii import hexlify
x = hexlify(inet_pton(AF_INET6, sys.argv[1]))
out = ""
for i in range(0, 15):
for i in range(0, 16):
out += "\\x" + x[i*2] + x[i*2+1]
print out
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment