Skip to content

Commit

Permalink
Add prototypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohn123 committed Jun 13, 2023
1 parent bfce128 commit 0066425
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -6998,6 +6998,7 @@ void bgp_purge_static_redist_routes(struct bgp *bgp)
bgp_purge_af_static_redist_routes(bgp, afi, safi);
}

int str2prefix_rtc(const char *str, struct prefix_rtc *p);
int str2prefix_rtc(const char *str, struct prefix_rtc *p) {
struct ecommunity *ecom = NULL;
int ret;
Expand Down Expand Up @@ -11860,6 +11861,9 @@ static int bgp_show_table(struct vty *vty, struct bgp *bgp, safi_t safi,
return CMD_SUCCESS;
}

int bgp_show_table_rtc(struct vty *vty, struct bgp *bgp, safi_t safi,
struct bgp_table *table, enum bgp_show_type type, void *output_arg,
uint16_t show_flags);
int bgp_show_table_rtc(struct vty *vty, struct bgp *bgp, safi_t safi,
struct bgp_table *table, enum bgp_show_type type, void *output_arg,
uint16_t show_flags)
Expand Down

0 comments on commit 0066425

Please sign in to comment.