X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_edge.c;h=371767141442e55eafe39231ebf118f093c9284a;hp=6129f71b4b99dd360415079f83f170b680d1ed4c;hb=006591efe5b3e6c64040d267f8c0477468abf2bf;hpb=6f9f6779e6bd1dd7bb795b42dad550863a386ca8 diff --git a/src/protocol_edge.c b/src/protocol_edge.c index 6129f71b..37176714 100644 --- a/src/protocol_edge.c +++ b/src/protocol_edge.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: protocol_edge.c,v 1.1.4.13 2002/09/09 22:33:02 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; @@ -220,9 +221,7 @@ int del_edge_h(connection_t *c) if(!from) { if(debug_lvl >= DEBUG_PROTOCOL) - syslog(LOG_ERR, - _ - ("Got %s from %s (%s) which does not appear in the edge tree"), + syslog(LOG_ERR, _("Got %s from %s (%s) which does not appear in the edge tree"), "DEL_EDGE", c->name, c->hostname); return 0; } @@ -231,9 +230,7 @@ int del_edge_h(connection_t *c) if(!to) { if(debug_lvl >= DEBUG_PROTOCOL) - syslog(LOG_ERR, - _ - ("Got %s from %s (%s) which does not appear in the edge tree"), + syslog(LOG_ERR, _("Got %s from %s (%s) which does not appear in the edge tree"), "DEL_EDGE", c->name, c->hostname); return 0; } @@ -244,9 +241,7 @@ int del_edge_h(connection_t *c) if(!e) { if(debug_lvl >= DEBUG_PROTOCOL) - syslog(LOG_WARNING, - _ - ("Got %s from %s (%s) which does not appear in the edge tree"), + syslog(LOG_WARNING, _("Got %s from %s (%s) which does not appear in the edge tree"), "DEL_EDGE", c->name, c->hostname); return 0; }