projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't send proxy requests for incoming connections.
[oweals/tinc.git]
/
src
/
protocol_auth.c
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index 3bd34a01b5743bcf3ee5d354bf4cfdde7bc5c90a..5ae99e821cc4f024d651569d009c5d46fba858ae 100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-126,7
+126,7
@@
static bool send_proxyrequest(connection_t *c) {
}
bool send_id(connection_t *c) {
- if(proxytype)
+ if(proxytype
&& c->outgoing
)
if(!send_proxyrequest(c))
return false;