fwb-sync: Fix incompatibility with ipaddress module
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: '22.214.171.124' (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?
Showing with 4 additions and 4 deletions