+ /* We got an ADD_HOST from ourself!? */
+
+ if(!strcmp(sender, myself->name))
+ {
+ syslog(LOG_ERR, _("Warning: got ADD_HOST from %s (%s) from ourself, restarting"), cl->name, cl->hostname);
+ sighup = 1;
+ free(sender);
+ return 0;
+ }
+
+ /* Lookup his uplink */
+
+ if(!(new->hisuplink = lookup_id(sender))
+ {
+ syslog(LOG_ERR, _("Got ADD_HOST from %s (%s) with origin %s which is not in our connection list"),
+ sender, cl->name, cl->hostname);
+ free(sender);
+ return -1;
+ }
+
+ free(sender);
+