+ /* First check if the host we connected to is already in our
+ connection list. If so, we are probably making a loop, which
+ is not desirable. It should not happen though.
+ */
+
+ if(lookup_conn(cl->vpn_ip))
+ {
+ if(debug_lvl>0)
+ syslog(LOG_NOTICE, _("Uplink %s (%s) is already in our connection list, aborting connect"),
+ cl->vpn_hostname, cl->real_hostname);
+ return -1;
+ }
+