- via = (owner->via == mesh->self) ? owner->nexthop : owner->via;
- if(via == source) {
- logger(mesh, MESHLINK_ERROR, "Routing loop for packet from %s (%s)!", source->name, source->hostname);
+ if(dest == source) {
+ logger(mesh, MESHLINK_ERROR, "Routing loop for packet from %s!", source->name);