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: '184.108.40.206' (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