]> granicus.if.org Git - pdns/commit
dnswasher: Write obfuscated IPv6 prefixes in network byte order
authorRobert Edmonds <edmonds@fsi.io>
Sat, 16 Apr 2016 00:54:22 +0000 (20:54 -0400)
committerRobert Edmonds <edmonds@fsi.io>
Sat, 16 Apr 2016 00:54:22 +0000 (20:54 -0400)
commit40ff5c7d1932b36540155f11a2b9649fe00e03e3
tree0f2e058b4152ce333226f9026cb7fdf69f9ddad8
parenta78b2983c99e7b9f8b5c52cf60b02124a63f0681
dnswasher: Write obfuscated IPv6 prefixes in network byte order

Make the IPv6 code path follow the IPv4 code path by writing out the
IPObfuscator counter in network byte order.

This makes the obfuscated IPv6 addresses easier to read and avoids
making the output of the tool vary based on the host byte order.
pdns/dnswasher.cc