From: Guus Sliepen Date: Sun, 4 Nov 2001 23:48:27 +0000 (+0000) Subject: Correctly check if subnet owner exists. X-Git-Tag: release-1.0pre5~29 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=b2d5002ff1ccd44fbf3a94e4c41909ab6141f3bb;p=tinc Correctly check if subnet owner exists. --- diff --git a/src/protocol.c b/src/protocol.c index cbc311e4..32bca999 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);