projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to process all pending events after select().
[tinc]
/
src
/
protocol_auth.c
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
56ff3b1
..
1e00f09
100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-200,7
+200,7
@@
static bool finalize_invitation(connection_t *c, const char *data, uint16_t len)
fprintf(f, "Ed25519PublicKey = %s\n", data);
fclose(f);
fprintf(f, "Ed25519PublicKey = %s\n", data);
fclose(f);
- logger(DEBUG_CONNECTIONS, LOG_INFO, "Key succesfully received from %s (%s)", c->name, c->hostname);
+ logger(DEBUG_CONNECTIONS, LOG_INFO, "Key succes
s
fully received from %s (%s)", c->name, c->hostname);
// Call invitation-accepted script
environment_t env;
// Call invitation-accepted script
environment_t env;
@@
-323,7
+323,7
@@
static bool receive_invitation_sptps(void *handle, uint8_t type, const void *dat
c->status.invitation_used = true;
c->status.invitation_used = true;
- logger(DEBUG_CONNECTIONS, LOG_INFO, "Invitation %s succesfully sent to %s (%s)", cookie, c->name, c->hostname);
+ logger(DEBUG_CONNECTIONS, LOG_INFO, "Invitation %s succes
s
fully sent to %s (%s)", cookie, c->name, c->hostname);
return true;
}
return true;
}
@@
-428,7
+428,7
@@
bool id_h(connection_t *c, const char *request) {
if(!c->config_tree) {
init_configuration(&c->config_tree);
if(!c->config_tree) {
init_configuration(&c->config_tree);
- if(!read_host_config(c->config_tree, c->name)) {
+ if(!read_host_config(c->config_tree, c->name
, false
)) {
logger(DEBUG_ALWAYS, LOG_ERR, "Peer %s had unknown identity (%s)", c->hostname, c->name);
return false;
}
logger(DEBUG_ALWAYS, LOG_ERR, "Peer %s had unknown identity (%s)", c->hostname, c->name);
return false;
}