add ipv6prefixlen, fix PEP8