fix: inet_ntop result check