• 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
nova_router Loading commit data...
pkg Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
.pylintrc Loading commit data...
Dockerfile Loading commit data...
arpy.py Loading commit data...
bfd-status Loading commit data...
build_pkg.sh Loading commit data...
clean_stale.py Loading commit data...
dhcp_configurator.py Loading commit data...
init-functions Loading commit data...
iptables_configurator.py Loading commit data...
jenkins_test.sh Loading commit data...
neighbors.py Loading commit data...
nova_bfd_monitor.py Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
userparameter_nova_router.conf Loading commit data...