X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_misc.c;h=6f7ab03b3fc7ae5549717be54457a2ec727286ca;hp=28571ef30082806599b20ab45595a1c5b845d395;hb=be2fc8b0458b1e2ced3b5de410356d8d8639acff;hpb=4c85542894f7fca823b119b05e07179deb24229a diff --git a/src/protocol_misc.c b/src/protocol_misc.c index 28571ef3..6f7ab03b 100644 --- a/src/protocol_misc.c +++ b/src/protocol_misc.c @@ -119,7 +119,7 @@ bool pong_h(connection_t *c) { /* Sending and receiving packets via TCP */ -bool send_tcppacket(connection_t *c, vpn_packet_t *packet) { +bool send_tcppacket(connection_t *c, const vpn_packet_t *packet) { /* If there already is a lot of data in the outbuf buffer, discard this packet. We use a very simple Random Early Drop algorithm. */