projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only send packets via UDP if UDP communication is possible.
[tinc]
/
src
/
node.c
diff --git
a/src/node.c
b/src/node.c
index
5dad0aa
..
b096530
100644
(file)
--- a/
src/node.c
+++ b/
src/node.c
@@
-78,7
+78,6
@@
node_t *new_node(void)
n->subnet_tree = new_subnet_tree();
n->edge_tree = new_edge_tree();
n->subnet_tree = new_subnet_tree();
n->edge_tree = new_edge_tree();
- n->queue = list_alloc((list_action_t) free);
EVP_CIPHER_CTX_init(&n->packet_ctx);
n->mtu = MTU;
n->maxmtu = MTU;
EVP_CIPHER_CTX_init(&n->packet_ctx);
n->mtu = MTU;
n->maxmtu = MTU;
@@
-90,9
+89,6
@@
void free_node(node_t *n)
{
cp();
{
cp();
- if(n->queue)
- list_delete_list(n->queue);
-
if(n->key)
free(n->key);
if(n->key)
free(n->key);