summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-06-01 22:49:07 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-06-01 22:49:07 +0000
commit276317b86ebb47f8e781ac4d05a5f61fb9d04b92 (patch)
tree663d1e99af600b38c629a74eb776aa8418f2df0f /usr.sbin/bgpd/rde.h
parent4ce3e7a39b85475a8527adeb543af1be496ca7db (diff)
Holy simplification batman. Use the per rib entry flags to lock entries
when interrupting rib dumps and now we no longer need evil RB magic to find the next entry on restart.
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r--usr.sbin/bgpd/rde.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h
index 9b7f825dbbf..ba05caf5186 100644
--- a/usr.sbin/bgpd/rde.h
+++ b/usr.sbin/bgpd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.111 2009/06/01 21:20:17 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.112 2009/06/01 22:49:06 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and
@@ -242,7 +242,7 @@ struct pt_entry6 {
struct rib_context {
LIST_ENTRY(rib_context) entry;
- struct pt_entry *ctx_p;
+ struct rib_entry *ctx_re;
struct rib *ctx_rib;
void (*ctx_upcall)(struct rib_entry *, void *);
void (*ctx_done)(void *);