From b2518c1e884cb8b4f4502f8b90b1c368e1a352ec Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Fri, 12 May 2006 23:48:40 +0000 Subject: [bgpd] CID #4,#5,#9,#10, simplify aspath_print_vty usage 2006-05-12 Paul Jakma * bgp_aspath.{c,h}: (aspath_print_vty) take a format string, so as to reduce burden on callers, all in bgp_route.c * bgp_route.c: (route_vty_out{,tmp}) Update to match aspath_print_vty, simplifying checks needed to get spacing right. CID #4,#5. ({damp,flap}_route_vty_out) Ditto, CID #9, #10 --- bgpd/bgp_aspath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bgpd/bgp_aspath.h') diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h index 7fa7f20ba..bf23e5d6a 100644 --- a/bgpd/bgp_aspath.h +++ b/bgpd/bgp_aspath.h @@ -77,7 +77,7 @@ extern void aspath_free (struct aspath *); extern struct aspath *aspath_intern (struct aspath *); extern void aspath_unintern (struct aspath *); extern const char *aspath_print (struct aspath *); -extern void aspath_print_vty (struct vty *, struct aspath *); +extern void aspath_print_vty (struct vty *, const char *, struct aspath *); extern void aspath_print_all_vty (struct vty *); extern unsigned int aspath_key_make (struct aspath *); extern int aspath_loop_check (struct aspath *, as_t); -- cgit v1.2.3