along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol.c,v 1.28.4.118 2001/11/03 21:22:02 guus Exp $
+ $Id: protocol.c,v 1.28.4.120 2001/11/04 23:48:27 guus Exp $
*/
#include "config.h"
owner = lookup_node(name);
- if(!node)
+ if(!owner)
{
syslog(LOG_ERR, _("Got ADD_SUBNET from %s (%s) for %s which is not in our connection list"),
c->name, c->hostname, name);
if(!from)
{
syslog(LOG_ERR, _("Got bad %s from %s (%s): %s"), "DEL_EDGE", c->name, c->hostname, _("unknown node"));
- return -1;
+ return 0;
}
to = lookup_node(to_name);
if(!to)
{
syslog(LOG_ERR, _("Got bad %s from %s (%s): %s"), "DEL_EDGE", c->name, c->hostname, _("unknown node"));
- return -1;
+ return 0;
}
/* Check if edge exists */
else
{
syslog(LOG_ERR, _("Got bad %s from %s (%s): %s"), "DEL_EDGE", c->name, c->hostname, _("unknown edge"));
- return -1;
+ return 0;
}
/* Tell the rest about the deleted edge */