]> gitweb.michael.orlitzky.com - djbdns-logparse.git/commitdiff
djbdns/common.py: assume IPv6 if an address isn't IPv4.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 22 Sep 2022 01:25:59 +0000 (21:25 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 22 Sep 2022 01:25:59 +0000 (21:25 -0400)
In other words, probably crash if convert_ip() is fed garbage. That's
OK. We could check the length of the hex string and raise a ValueError
if it isn't 8 or 32, but we might be solving problems that don't exist.


No differences found