modify inet_pton