• Olav Morken's avatar
    fwb-sync: Fix incompatibility with ipaddress module · e4b5ab67
    Olav Morken authored
    The ipaddress-module expects either a unicode string or a bytes
    object. This patch updates fwb-sync to convert all addresses to
    unicode strings before passing them to ipaddress.
    
    This patch fixes the following error:
    
    > ipaddress.AddressValueError: '158.38.0.168' (len 12 != 4) is not
    > permitted as an IPv4 address. Did you pass in a bytes (str in
    > Python 2) instead of a unicode object?
    e4b5ab67
Name
Last commit
Last update
..
create_dns_record.py Loading commit data...
etcd_dump.py Loading commit data...
etcd_restore.py Loading commit data...
fwb-sync.py Loading commit data...
library_groups.py Loading commit data...
list_dns_records.py Loading commit data...
remove_dns_record.py Loading commit data...
sec_groups.py Loading commit data...
update_dns_record.py Loading commit data...