projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c88ff8
)
Run graph algorithm when replacing a second connection from the same host
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 12 Jan 2003 17:02:23 +0000
(17:02 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 12 Jan 2003 17:02:23 +0000
(17:02 +0000)
replaces an older one.
src/protocol_auth.c
patch
|
blob
|
history
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index 83b1c20010f54378cae64fa70f198eb7ac0e6da1..da2fa1302de921c4ab3d8e2fa2f55bd08f155121 100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.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_auth.c,v 1.1.4.1
7 2002/09/09 22:32:59
guus Exp $
+ $Id: protocol_auth.c,v 1.1.4.1
8 2003/01/12 17:02:23
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-548,6
+548,8
@@
int ack_h(connection_t *c)
syslog(LOG_DEBUG, _("Established a second connection with %s (%s), closing old connection"),
n->name, n->hostname);
terminate_connection(n->connection, 0);
syslog(LOG_DEBUG, _("Established a second connection with %s (%s), closing old connection"),
n->name, n->hostname);
terminate_connection(n->connection, 0);
+ /* Run graph algorithm to purge key and make sure up/down scripts are rerun with new IP addresses and stuff */
+ graph();
}
}
}
}