summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-06-01 23:54:51 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-06-01 23:54:51 +0000
commite1217a8eae85a6fee4335dbdd63014714e193e30 (patch)
tree71b9d7e70856a919a6885378f7fbd8a0fc6ae434 /usr.sbin/bgpd/rde_rib.c
parenta3e3dbe15e6a9a8cabc063082762b1f75cf14fcf (diff)
Use only one list to queue the dump contextes on. Use the list in struct
rib_context instead of the ctl specific rde_dump_ctx to make it more general.
Diffstat (limited to 'usr.sbin/bgpd/rde_rib.c')
-rw-r--r--usr.sbin/bgpd/rde_rib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c
index 630307d585a..eaa67d84f69 100644
--- a/usr.sbin/bgpd/rde_rib.c
+++ b/usr.sbin/bgpd/rde_rib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_rib.c,v 1.106 2009/06/01 22:54:02 claudio Exp $ */
+/* $OpenBSD: rde_rib.c,v 1.107 2009/06/01 23:54:50 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -224,7 +224,6 @@ rib_dump_r(struct rib_context *ctx)
if (ctx->ctx_re == NULL) {
re = RB_MIN(rib_tree, &ctx->ctx_rib->rib);
- LIST_INSERT_HEAD(&ctx->ctx_rib->ctxts, ctx, entry);
} else
re = rib_restart(ctx);