diff options
Diffstat (limited to 'usr.sbin/bgpd/mrt.c')
-rw-r--r-- | usr.sbin/bgpd/mrt.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c index 446e9aeed30..f06aff60a36 100644 --- a/usr.sbin/bgpd/mrt.c +++ b/usr.sbin/bgpd/mrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.c,v 1.47 2004/12/23 16:09:26 henning Exp $ */ +/* $OpenBSD: mrt.c,v 1.48 2005/11/29 21:11:07 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -508,9 +508,11 @@ mrt_dump_upcall(struct pt_entry *pt, void *ptr) */ LIST_FOREACH(p, &pt->prefix_h, prefix_l) if (mrtbuf->type == MRT_TABLE_DUMP) - mrt_dump_entry(mrtbuf, p, sequencenum++, p->peer); + mrt_dump_entry(mrtbuf, p, sequencenum++, + p->aspath->peer); else - mrt_dump_entry_mp(mrtbuf, p, sequencenum++, p->peer); + mrt_dump_entry_mp(mrtbuf, p, sequencenum++, + p->aspath->peer); } static int |