Fix crash when using Broadcast = direct.
This commit is contained in:
parent
0a84f9cb8f
commit
236b0ba4eb
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ void broadcast_packet(const node_t *from, vpn_packet_t *packet) {
|
||||||
n = node->data;
|
n = node->data;
|
||||||
|
|
||||||
if(n->status.reachable && ((n->via == myself && n->nexthop == n) || n->via == n))
|
if(n->status.reachable && ((n->via == myself && n->nexthop == n) || n->via == n))
|
||||||
send_packet(c->node, packet);
|
send_packet(n, packet);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue