projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow testing the replay window with sptps_test.
[tinc]
/
src
/
node.c
diff --git
a/src/node.c
b/src/node.c
index
2f51744
..
aab83ca
100644
(file)
--- a/
src/node.c
+++ b/
src/node.c
@@
-50,9
+50,9
@@
void exit_nodes(void) {
}
node_t *new_node(void) {
}
node_t *new_node(void) {
- node_t *n = x
malloc_and_zero
(sizeof *n);
+ node_t *n = x
zalloc
(sizeof *n);
- if(replaywin) n->late = x
malloc_and_zero
(replaywin);
+ if(replaywin) n->late = x
zalloc
(replaywin);
n->subnet_tree = new_subnet_tree();
n->edge_tree = new_edge_tree();
n->mtu = MTU;
n->subnet_tree = new_subnet_tree();
n->edge_tree = new_edge_tree();
n->mtu = MTU;