X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_packet.c;h=3f2fb48935ef09d016fdadb1f3c9535b5f9fbf12;hb=0871c3095151bce6a4031a2662aa51b7193b855c;hp=dab74e5d305a313fa43991b64835c790b2a273be;hpb=9e917cc3b614d7a986416e6a2c3ea9ea583adacf;p=tinc diff --git a/src/net_packet.c b/src/net_packet.c index dab74e5d..3f2fb489 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1623,7 +1623,7 @@ void broadcast_packet(const node_t *from, vpn_packet_t *packet) { // This guarantees all nodes receive the broadcast packet, and // usually distributes the sending of broadcast packets over all nodes. case BMODE_MST: - for list_each(connection_t, c, connection_list) + for list_each(connection_t, c, &connection_list) if(c->edge && c->status.mst && c != from->nexthop->connection) { send_packet(c->node, packet); }