From 1302bdc7ebf1ebf4ca4051011c75dab2453393fc Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 10 Nov 2003 23:50:54 +0000 Subject: 2003-11-10 Lorenzo Colitti * bgpd/bgp_dump.c: (bgp_dump_routes_entry) call dump_bgp_routes_attr() with a prefix. --- bgpd/bgp_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd') diff --git a/bgpd/bgp_dump.c b/bgpd/bgp_dump.c index e3c62814..7dc64c6a 100644 --- a/bgpd/bgp_dump.c +++ b/bgpd/bgp_dump.c @@ -236,7 +236,7 @@ bgp_dump_routes_entry (struct prefix *p, struct bgp_info *info, int afi, stream_putw (obuf, peer->as); /* Dump attribute. */ - bgp_dump_routes_attr (obuf, attr, NULL); + bgp_dump_routes_attr (obuf, attr, p); } else { @@ -246,7 +246,7 @@ bgp_dump_routes_entry (struct prefix *p, struct bgp_info *info, int afi, stream_putc (obuf, p->prefixlen); plen = PSIZE (p->prefixlen); stream_put (obuf, &p->u.prefix4, plen); - bgp_dump_routes_attr (obuf, attr, NULL); + bgp_dump_routes_attr (obuf, attr, p); } } #ifdef HAVE_IPV6 -- cgit v1.2.1