30/151, restore-ip-addresses.

works except can't judge if it is valid ip addr.