summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/mrt.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-08-05 16:26:57 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-08-05 16:26:57 +0000
commit59613300d9ce679fac0375f8df3b89426c8b486e (patch)
treedd83848acbc35af47c3fb920346f8d0aa6ac20b3 /usr.sbin/bgpd/mrt.c
parent36c0a45ea83f8ca9b3eb87be11b9f95ef180143c (diff)
struct prefix has a pointer to the peer so use it everywhere directly instead
of the detour via aspath.
Diffstat (limited to 'usr.sbin/bgpd/mrt.c')
-rw-r--r--usr.sbin/bgpd/mrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c
index aabf9ba9e61..ddecc29a2ad 100644
--- a/usr.sbin/bgpd/mrt.c
+++ b/usr.sbin/bgpd/mrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mrt.c,v 1.37 2004/08/03 14:00:15 claudio Exp $ */
+/* $OpenBSD: mrt.c,v 1.38 2004/08/05 16:26:56 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -297,7 +297,7 @@ mrt_dump_upcall(struct pt_entry *pt, void *ptr)
*/
LIST_FOREACH(p, &pt->prefix_h, prefix_l)
mrt_dump_entry(mrtbuf, p, sequencenum++,
- &p->aspath->peer->conf);
+ &p->peer->conf);
}
static int