summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorpaul <paul>2003-11-10 23:50:54 +0000
committerpaul <paul>2003-11-10 23:50:54 +0000
commit1302bdc7ebf1ebf4ca4051011c75dab2453393fc (patch)
tree27c2c8f49c098891464e402289ecd9bc91bf80c1 /bgpd
parentc001ae62814db71a2557bf69a94618613c57d547 (diff)
2003-11-10 Lorenzo Colitti <lorenzo@ripe.net>
* bgpd/bgp_dump.c: (bgp_dump_routes_entry) call dump_bgp_routes_attr() with a prefix.
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_dump.c4
1 files changed, 2 insertions, 2 deletions
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