Import Upstream version 1.0.22

This commit is contained in:
Guus Sliepen 2019-08-26 13:44:43 +02:00
parent 37abcfc1ea
commit 8dab3abc97
28 changed files with 2676 additions and 2126 deletions

View file

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