projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b5bb062
)
Woops.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 3 Sep 2002 22:49:55 +0000
(22:49 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 3 Sep 2002 22:49:55 +0000
(22:49 +0000)
src/protocol_node.c
patch
|
blob
|
history
diff --git
a/src/protocol_node.c
b/src/protocol_node.c
index
b86ef79
..
e407977
100644
(file)
--- a/
src/protocol_node.c
+++ b/
src/protocol_node.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_node.c,v 1.1.4.
3 2002/09/03 22:37:49
guus Exp $
+ $Id: protocol_node.c,v 1.1.4.
4 2002/09/03 22:49:55
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-112,7
+112,7
@@
cp
else
{
// If this ADD_NODE is closer or more direct, use it instead of the old one.
else
{
// If this ADD_NODE is closer or more direct, use it instead of the old one.
- if(!n->reachable || ((n->options & OPTION_INDIRECT) && !(options & OPTION_INDIRECT)) || n->distance > distance)
+ if(!n->
status.
reachable || ((n->options & OPTION_INDIRECT) && !(options & OPTION_INDIRECT)) || n->distance > distance)
{
avl_node_t *node = avl_unlink(node_udp_tree, n);
n->address = str2sockaddr(address, port);
{
avl_node_t *node = avl_unlink(node_udp_tree, n);
n->address = str2sockaddr(address, port);