diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-12 10:32:23 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-12 21:13:55 +0200 |
commit | d54f55f22d582310b0894efe7ef1feafd5636007 (patch) | |
tree | 53039ed5c9f0cad1ba2548191656ff358e38277e /bgpd/bgpd.h | |
parent | bgpd: Convert bgp_peer_sort_t to enum (diff) | |
download | frr-d54f55f22d582310b0894efe7ef1feafd5636007.tar.xz frr-d54f55f22d582310b0894efe7ef1feafd5636007.zip |
bgpd: Convert bgp_policy_type_e to enum
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | bgpd/bgpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 8e353c176..a98479bf5 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -1968,12 +1968,12 @@ enum bgp_create_error_code { /* * Enumeration of different policy kinds a peer can be configured with. */ -typedef enum { +enum bgp_policy_type { BGP_POLICY_ROUTE_MAP, BGP_POLICY_FILTER_LIST, BGP_POLICY_PREFIX_LIST, BGP_POLICY_DISTRIBUTE_LIST, -} bgp_policy_type_e; +}; /* peer_flag_change_type. */ enum peer_change_type { |