network/ip2long network/long2ip: fix error return