X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmeta.c;h=fa031dbda557d4f55d57f91c53e23a29714d9f60;hb=84570275acd84628586a6ca591a283d074ca10f0;hp=baa4c2eb3a101dd4293a2f105bb167a60b8e300d;hpb=36623e15a1c8685e5d8730345c1a7f9c93710fef;p=tinc diff --git a/src/meta.c b/src/meta.c index baa4c2eb..fa031dbd 100644 --- a/src/meta.c +++ b/src/meta.c @@ -57,7 +57,7 @@ bool send_meta(connection_t *c, const char *buffer, int length) { c->name, c->hostname); if(c->protocol_minor >= 2) - return send_record(&c->sptps, 0, buffer, length); + return sptps_send_record(&c->sptps, 0, buffer, length); /* Add our data to buffer */ if(c->status.encryptout) { @@ -163,7 +163,7 @@ bool receive_meta(connection_t *c) { do { if(c->protocol_minor >= 2) { logger(LOG_DEBUG, "Receiving %d bytes of SPTPS data", inlen); - return receive_data(&c->sptps, bufp, inlen); + return sptps_receive_data(&c->sptps, bufp, inlen); } if(!c->status.decryptin) {