- syslog(LOG_ERR, _("Got DEL_HOST from %s (%s) for %s which is not in our connection list"),
- name, cl->name, cl->hostname);
- free(name);
+ other = (connection_t *)node->data;
+ if(other->status.active && other != c)
+ send_add_edge(other, v);
+ }
+
+cp
+ return 0;
+}
+
+int send_del_edge(connection_t *c, edge_t *v)
+{
+cp
+ return send_request(c, "%d %s %s %lx", DEL_EDGE,
+ v->from->name, v->to->name, v->options);
+}
+
+int del_edge_h(connection_t *c)
+{
+ edge_t *v;
+ char from_name[MAX_STRING_SIZE];
+ char to_name[MAX_STRING_SIZE];
+ node_t *from, *to;
+ long int options;
+ connection_t *other;
+ avl_node_t *node;
+cp
+ if(sscanf(c->buffer, "%*d "MAX_STRING" "MAX_STRING" %lx", from_name, to_name, &options) != 3)
+ {
+ syslog(LOG_ERR, _("Got bad %s from %s (%s)"), "DEL_EDGE",
+ c->name, c->hostname);