summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/rde_rib.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-10-18 17:00:59 +0000
committerderaadt <deraadt@openbsd.org>2007-10-18 17:00:59 +0000
commit726964a1964be8b9f6c850c893a4a8bf12c022e2 (patch)
tree6c9c185569132b6c86cd83524861056a9741f135 /usr.sbin/ripd/rde_rib.c
parentAvoid memory leak if tag is defined multiple times in CVSROOT/config. (diff)
downloadwireguard-openbsd-726964a1964be8b9f6c850c893a4a8bf12c022e2.tar.xz
wireguard-openbsd-726964a1964be8b9f6c850c893a4a8bf12c022e2.zip
spacing
Diffstat (limited to 'usr.sbin/ripd/rde_rib.c')
-rw-r--r--usr.sbin/ripd/rde_rib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/rde_rib.c b/usr.sbin/ripd/rde_rib.c
index ce10a480f73..47a79920249 100644
--- a/usr.sbin/ripd/rde_rib.c
+++ b/usr.sbin/ripd/rde_rib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_rib.c,v 1.2 2007/04/09 20:45:52 michele Exp $ */
+/* $OpenBSD: rde_rib.c,v 1.3 2007/10/18 17:00:59 deraadt Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -265,7 +265,7 @@ rt_complete(struct rip_route *rr)
void
rt_clear(void)
{
- struct rt_node *r;
+ struct rt_node *r;
while ((r = RB_MIN(rt_tree, &rt)) != NULL)
rt_remove(r);