From 236b0ba4ebba01e22e382e79897100338a039bbb Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 25 Jun 2012 19:03:54 +0200 Subject: [PATCH] Fix crash when using Broadcast = direct. --- src/net_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net_packet.c b/src/net_packet.c index 43c8ce20..cd8d98ac 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; -- 2.39.5