intentionet / netconan

netconan - a Network Configuration Anonymizer
Apache License 2.0
145 stars 12 forks source link

Ensure unicode for user-specified preserved-prefixes #130

Closed sfraint closed 4 years ago

sfraint commented 4 years ago

Fixes a bug where Netconan would crash when preserved prefixes were specified in Python2: AddressValueError: <prefix> does not appear to be an IPv4 or IPv6 network. Did you pass in a bytes (str in Python 2) instead of a unicode object?


This change is Reviewable