X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=blobdiff_plain;f=src%2Fprotocol_misc.c;h=6f7ab03b3fc7ae5549717be54457a2ec727286ca;hp=28571ef30082806599b20ab45595a1c5b845d395;hb=6d08eb1614b59d5f86a43edda9db06fca72b76cd;hpb=07ffb1a19859791d419b83a876ba552dadedbf46 diff --git a/src/protocol_misc.c b/src/protocol_misc.c index 28571ef..6f7ab03 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. */