]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2003-11-10 Lorenzo Colitti <lorenzo@ripe.net>
authorpaul <paul>
Mon, 10 Nov 2003 23:50:54 +0000 (23:50 +0000)
committerpaul <paul>
Mon, 10 Nov 2003 23:50:54 +0000 (23:50 +0000)
        * bgpd/bgp_dump.c: (bgp_dump_routes_entry) call
          dump_bgp_routes_attr() with a prefix.

bgpd/bgp_dump.c

index e3c628149e9216d2ec364d5efd00d5427ac9eef4..7dc64c6a2235277dedf61183a6b2a393fcd8dacb 100644 (file)
@@ -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