allow netaddr_to_str to work with addr = 0