projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ef90a8
)
Fix bug when dropping an old connection in favour of a new one from the
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 8 Oct 2001 15:37:14 +0000
(15:37 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 8 Oct 2001 15:37:14 +0000
(15:37 +0000)
same host.
src/protocol.c
patch
|
blob
|
history
diff --git
a/src/protocol.c
b/src/protocol.c
index
5409fbd
..
492f289
100644
(file)
--- a/
src/protocol.c
+++ b/
src/protocol.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol.c,v 1.28.4.10
7 2001/10/08 11:47:55
guus Exp $
+ $Id: protocol.c,v 1.28.4.10
8 2001/10/08 15:37:14
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-245,8
+245,8
@@
cp
cl->status.outgoing = 1;
old->status.outgoing = 0;
}
cl->status.outgoing = 1;
old->status.outgoing = 0;
}
+
terminate_connection(old, 0);
terminate_connection(old, 0);
- return 0;
}
/* Also check if no other tinc daemon uses the same IP and port for UDP traffic */
}
/* Also check if no other tinc daemon uses the same IP and port for UDP traffic */