projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix protocol version check for type 2 MTU probe replies.
[tinc]
/
src
/
tincctl.c
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
f18dc50
..
b15676c
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-763,7
+763,7
@@
bool connect_tincd(bool verbose) {
#ifdef SO_NOSIGPIPE
static const int one = 1;
- setsockopt(
c
, SOL_SOCKET, SO_NOSIGPIPE, (void *)&one, sizeof one);
+ setsockopt(
fd
, SOL_SOCKET, SO_NOSIGPIPE, (void *)&one, sizeof one);
#endif
char data[4096];