projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure all SPTPS functions are prefixed with sptps_.
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
baa4c2e
..
fa031db
100644
(file)
--- 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)
c->name, c->hostname);
if(c->protocol_minor >= 2)
- return send_record(&c->sptps, 0, buffer, length);
+ return s
ptps_s
end_record(&c->sptps, 0, buffer, length);
/* Add our data to buffer */
if(c->status.encryptout) {
/* 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);
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) {
}
if(!c->status.decryptin) {