- /* Check if it has to go via TCP or UDP... */
-cp
- if((cl->options | myself->options) & OPTION_TCPONLY)
+ if(cl->via == myself)
+ via = cl->nexthop;
+ else
+ via = cl->via;
+
+ if(via != cl && debug_lvl >= DEBUG_TRAFFIC)
+ syslog(LOG_ERR, _("Sending packet to %s via %s (%s)"),
+ cl->name, via->name, via->hostname);
+
+ if((myself->options | via->options) & OPTION_TCPONLY)