projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
698d6dd
)
Don't forget to set prevhop to myself for new connections.
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 4 Sep 2002 08:36:34 +0000
(08:36 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 4 Sep 2002 08:36:34 +0000
(08:36 +0000)
src/protocol_auth.c
patch
|
blob
|
history
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
b2ffaff
..
6563470
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
0 2002/09/03 20:43:25
guus Exp $
+ $Id: protocol_auth.c,v 1.1.4.1
1 2002/09/04 08:36:34
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-563,6
+563,7
@@
cp
n->options = c->options;
n->distance = 1;
n->via = n->nexthop = n;
n->options = c->options;
n->distance = 1;
n->via = n->nexthop = n;
+ n->prevhop = myself;
n->status.reachable = 1;
n->status.validkey = 0;
n->status.waitingforkey = 0;
n->status.reachable = 1;
n->status.validkey = 0;
n->status.waitingforkey = 0;