projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ede6671
)
Correctly check if subnet owner exists.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 4 Nov 2001 23:48:27 +0000
(23:48 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 4 Nov 2001 23:48:27 +0000
(23:48 +0000)
src/protocol.c
patch
|
blob
|
history
diff --git
a/src/protocol.c
b/src/protocol.c
index
cbc311e
..
32bca99
100644
(file)
--- 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.
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.1
19 2001/11/04 23:29:50
guus Exp $
+ $Id: protocol.c,v 1.28.4.1
20 2001/11/04 23:48:27
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-729,7
+729,7
@@
cp
owner = lookup_node(name);
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);
{
syslog(LOG_ERR, _("Got ADD_SUBNET from %s (%s) for %s which is not in our connection list"),
c->name, c->hostname, name);