X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.h;h=4ea0c8c7c8e6a8bac22103167920a0c042e28dee;hb=2c6b2d70e6640f39563ad7bb0aa0ba87f883848c;hp=42981ccaa9e4b807104f308d094167ff916721e8;hpb=42d2dff33306beae8ddbd9cc991ad80f135950a6;p=tinc diff --git a/src/protocol.h b/src/protocol.h index 42981cca..4ea0c8c7 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -107,7 +107,7 @@ extern void send_key_changed(void); extern bool send_req_key(struct node_t *to); extern bool send_ans_key(struct node_t *to); extern bool send_tcppacket(struct connection_t *c, const struct vpn_packet_t *packet); -extern bool send_sptps_tcppacket(struct connection_t *c, const char *packet, int len); +extern bool send_sptps_tcppacket(struct connection_t *c, const void *packet, size_t len); extern bool send_udp_info(struct node_t *from, struct node_t *to); extern bool send_mtu_info(struct node_t *from, struct node_t *to, int mtu);