X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.c;h=492f2893878f11910cdc6084981c9649c1523125;hp=5409fbdb38e31c0a17adf6d81bb0c61fe42ccf58;hb=fcc3ded75fe9f831aeb8678ee5e3926bf4168906;hpb=21027b1d5702c331b1ebb262bb149c75be1f24b1 diff --git a/src/protocol.c b/src/protocol.c index 5409fbdb..492f2893 100644 --- 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. - $Id: protocol.c,v 1.28.4.107 2001/10/08 11:47:55 guus Exp $ + $Id: protocol.c,v 1.28.4.108 2001/10/08 15:37:14 guus Exp $ */ #include "config.h" @@ -245,8 +245,8 @@ cp cl->status.outgoing = 1; old->status.outgoing = 0; } + terminate_connection(old, 0); - return 0; } /* Also check if no other tinc daemon uses the same IP and port for UDP traffic */