projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update with information about the pre6 release.
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
f4c9e53
..
cd2b7ea
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.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: net_setup.c,v 1.1.2.1
1 2002/03/18 22:47:20
guus Exp $
+ $Id: net_setup.c,v 1.1.2.1
3 2002/03/25 13:54:49
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-464,6
+464,7
@@
cp
myself->nexthop = myself;
myself->via = myself;
myself->status.active = 1;
myself->nexthop = myself;
myself->via = myself;
myself->status.active = 1;
+ myself->status.reachable = 1;
node_add(myself);
graph();
node_add(myself);
graph();
@@
-529,6
+530,7
@@
cp
init_nodes();
init_edges();
init_events();
init_nodes();
init_edges();
init_events();
+ init_requests();
if(get_config_int(lookup_config(config_tree, "PingTimeout"), &pingtimeout))
{
if(get_config_int(lookup_config(config_tree, "PingTimeout"), &pingtimeout))
{
@@
-581,6
+583,7
@@
cp
close(listen_socket[i].udp);
}
close(listen_socket[i].udp);
}
+ exit_requests();
exit_events();
exit_edges();
exit_subnets();
exit_events();
exit_edges();
exit_subnets();