- if(cl->status.outgoing)
- {
- /* If we get here, it means that our uplink uses the wrong protocol.
- If we don't do anything, we will reconnect every 5 seconds. Pretty dumb.
- So we disable the outgoing flag, so that we won't reconnect anymore.
- This still allows other tinc daemons to connect to us.
- */
- syslog(LOG_ERR, _("Warning: disabling uplink!"));
- cl->status.outgoing = 0;
- }