look for ip in the correct struct