Fix crash when using Broadcast = direct.

This commit is contained in:
Guus Sliepen 2012-06-25 19:03:54 +02:00
parent 0a84f9cb8f
commit 236b0ba4eb

View file

@ -622,7 +622,7 @@ void broadcast_packet(const node_t *from, vpn_packet_t *packet) {
n = node->data;
if(n->status.reachable && ((n->via == myself && n->nexthop == n) || n->via == n))
send_packet(c->node, packet);
send_packet(n, packet);
}
break;