summaryrefslogtreecommitdiff
path: root/usr.sbin/rebound
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2016-01-03 18:15:18 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2016-01-03 18:15:18 +0000
commitefe4634a7abe2e18cabf841950e1acdc05b77bb2 (patch)
treec3709ffbed0bfe425c6aa3542f2e61b87275ea92 /usr.sbin/rebound
parent1b446a91cf3805c756c7a23d4aa700659bbba78a (diff)
forgot to call RB_INIT. but yet things mostly worked...
Diffstat (limited to 'usr.sbin/rebound')
-rw-r--r--usr.sbin/rebound/rebound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rebound/rebound.c b/usr.sbin/rebound/rebound.c
index 171116a3e52..a3addaf22c2 100644
--- a/usr.sbin/rebound/rebound.c
+++ b/usr.sbin/rebound/rebound.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rebound.c,v 1.59 2015/12/17 18:24:57 tedu Exp $ */
+/* $OpenBSD: rebound.c,v 1.60 2016/01/03 18:15:17 tedu Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -645,6 +645,7 @@ main(int argc, char **argv)
TAILQ_INIT(&reqfifo);
TAILQ_INIT(&cachefifo);
+ RB_INIT(&cachetree);
memset(&bindaddr, 0, sizeof(bindaddr));
bindaddr.sin_len = sizeof(bindaddr);