diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-07-04 23:07:01 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-07-04 23:07:01 +0300 |
| commit | 0ed36e44f8bf3c866d99ec549f7ed041af62e8a5 (patch) | |
| tree | 64bd6dbcc20f0174180d6a278067ffd751178fba /bgpd/bgp_vty.h | |
| parent | 0dfe25697f5299326046fcfb66f2c6beca7c423c (diff) | |
bgpd: Convert int to enum peer_asn_type
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_vty.h')
| -rw-r--r-- | bgpd/bgp_vty.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h index 6d86f6ba08..f88f5c8125 100644 --- a/bgpd/bgp_vty.h +++ b/bgpd/bgp_vty.h @@ -161,8 +161,9 @@ extern int bgp_vty_find_and_parse_afi_safi_bgp(struct vty *vty, int bgp_vty_find_and_parse_bgp(struct vty *vty, struct cmd_token **argv, int argc, struct bgp **bgp, bool use_json); extern int bgp_show_summary_vty(struct vty *vty, const char *name, afi_t afi, - safi_t safi, const char *neighbor, int as_type, - as_t as, uint16_t show_flags); + safi_t safi, const char *neighbor, + enum peer_asn_type as_type, as_t as, + uint16_t show_flags); extern bool peergroup_flag_check(struct peer *peer, uint64_t flag); extern bool peergroup_af_flag_check(struct peer *peer, afi_t afi, safi_t safi, uint64_t flag); |
