From b2d5002ff1ccd44fbf3a94e4c41909ab6141f3bb Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 4 Nov 2001 23:48:27 +0000 Subject: [PATCH] Correctly check if subnet owner exists. --- src/protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocol.c b/src/protocol.c index cbc311e..32bca99 100644 --- a/src/protocol.c +++ b/src/protocol.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.c,v 1.28.4.119 2001/11/04 23:29:50 guus Exp $ + $Id: protocol.c,v 1.28.4.120 2001/11/04 23:48:27 guus Exp $ */ #include "config.h" @@ -729,7 +729,7 @@ cp 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); -- 2.25.1