Only reset seqno's when a key is sent or received.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 6 Sep 2002 09:48:39 +0000 (09:48 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 6 Sep 2002 09:48:39 +0000 (09:48 +0000)
src/graph.c

index b5e8193..6841ff2 100644 (file)
@@ -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: graph.c,v 1.1.2.15 2002/09/04 13:48:51 guus Exp $
+    $Id: graph.c,v 1.1.2.16 2002/09/06 09:48:39 guus Exp $
 */
 
 /* We need to generate two trees from the graph:
 */
 
 /* We need to generate two trees from the graph:
@@ -266,7 +266,6 @@ void sssp_bfs(void)
 
        n->status.validkey = 0;
        n->status.waitingforkey = 0;
 
        n->status.validkey = 0;
        n->status.waitingforkey = 0;
-       n->sent_seqno = 0;
 
        asprintf(&envp[0], "NETNAME=%s", netname?netname:"");
        asprintf(&envp[1], "DEVICE=%s", device?device:"");
 
        asprintf(&envp[0], "NETNAME=%s", netname?netname:"");
        asprintf(&envp[1], "DEVICE=%s", device?device:"");