2003-11-10 Lorenzo Colitti <lorenzo@ripe.net>
* bgpd/bgp_dump.c: (bgp_dump_routes_entry) call
dump_bgp_routes_attr() with a prefix.
diff --git a/bgpd/bgp_dump.c b/bgpd/bgp_dump.c
index e3c6281..7dc64c6 100644
--- a/bgpd/bgp_dump.c
+++ b/bgpd/bgp_dump.c
@@ -236,7 +236,7 @@
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 @@
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