projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move AC_GNU_SOURCE up to make autoconf happy.
[tinc]
/
src
/
route.c
diff --git
a/src/route.c
b/src/route.c
index
5ccf9bd
..
dbe38df
100644
(file)
--- a/
src/route.c
+++ b/
src/route.c
@@
-22,7
+22,7
@@
#include "system.h"
#include "system.h"
-#include "
avl
_tree.h"
+#include "
splay
_tree.h"
#include "connection.h"
#include "ethernet.h"
#include "ipv4.h"
#include "connection.h"
#include "ethernet.h"
#include "ipv4.h"
@@
-102,7
+102,7
@@
static void age_subnets(int fd, short events, void *data)
{
subnet_t *s;
connection_t *c;
{
subnet_t *s;
connection_t *c;
-
avl
_node_t *node, *next, *node2;
+
splay
_node_t *node, *next, *node2;
bool left = false;
time_t now = time(NULL);
bool left = false;
time_t now = time(NULL);
@@
-138,7
+138,7
@@
static void age_subnets(int fd, short events, void *data)
static void learn_mac(mac_t *address)
{
subnet_t *subnet;
static void learn_mac(mac_t *address)
{
subnet_t *subnet;
-
avl
_node_t *node;
+
splay
_node_t *node;
connection_t *c;
cp();
connection_t *c;
cp();