Run graph() after edge_del() when updating an edge.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 24 Sep 2002 11:43:34 +0000 (11:43 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 24 Sep 2002 11:43:34 +0000 (11:43 +0000)
src/protocol_edge.c

index 0ac9e7c80feafac3f5e62be6d2b6347ade589715..371767141442e55eafe39231ebf118f093c9284a 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.
 
-    $Id: protocol_edge.c,v 1.1.4.14 2002/09/15 14:55:53 guus Exp $
+    $Id: protocol_edge.c,v 1.1.4.15 2002/09/24 11:43:34 guus Exp $
 */
 
 #include "config.h"
@@ -140,6 +140,7 @@ int add_edge_h(connection_t *c)
                                        syslog(LOG_WARNING, _("Got %s from %s (%s) which does not match existing entry"),
                                                   "ADD_EDGE", c->name, c->hostname);
                                edge_del(e);
+                               graph();
                        }
                } else
                        return 0;