fix for inet_ntop calling convention