diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-01-03 18:15:18 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-01-03 18:15:18 +0000 |
commit | efe4634a7abe2e18cabf841950e1acdc05b77bb2 (patch) | |
tree | c3709ffbed0bfe425c6aa3542f2e61b87275ea92 | |
parent | 1b446a91cf3805c756c7a23d4aa700659bbba78a (diff) |
forgot to call RB_INIT. but yet things mostly worked...
-rw-r--r-- | usr.sbin/rebound/rebound.c | 3 |
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); |