From: Guus Sliepen Date: Mon, 25 Jun 2012 17:03:54 +0000 (+0200) Subject: Fix crash when using Broadcast = direct. X-Git-Tag: release-1.0.19~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=236b0ba4ebba01e22e382e79897100338a039bbb;p=oweals%2Ftinc.git Fix crash when using Broadcast = direct. --- diff --git a/src/net_packet.c b/src/net_packet.c index 43c8ce2..cd8d98a 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -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;