Run graph() after edge_del() when updating an edge.

This commit is contained in:
Guus Sliepen 2002-09-24 11:43:34 +00:00
parent 6904e0469e
commit 006591efe5

View 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;