Fill in next- and lastbutonehop for myself.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 25 Sep 2001 13:39:11 +0000 (13:39 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 25 Sep 2001 13:39:11 +0000 (13:39 +0000)
src/net.c

index d268fb8dc2acc919d927e30095a6d893a1da0fd2..e086d78633f29af27e9334ed9ffd32e0097164fb 100644 (file)
--- a/src/net.c
+++ b/src/net.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: net.c,v 1.35.4.132 2001/09/25 13:35:45 guus Exp $
+    $Id: net.c,v 1.35.4.133 2001/09/25 13:39:11 guus Exp $
 */
 
 #include "config.h"
@@ -976,6 +976,8 @@ cp
 cp
   /* Done */
 
+  myself->nexthop = myself;
+  myself->lastbutonehop = myself;
   myself->status.active = 1;
   id_add(myself);