diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-12 10:34:27 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-12 21:13:55 +0200 |
commit | 9c2fd3fe44dc9979a34b94f465639cd9b8c1d289 (patch) | |
tree | d447aa1e336354e098418e6f1b2facb79992afc2 /bgpd/bgpd.h | |
parent | bgpd: Convert bgp_policy_type_e to enum (diff) | |
download | frr-9c2fd3fe44dc9979a34b94f465639cd9b8c1d289.tar.xz frr-9c2fd3fe44dc9979a34b94f465639cd9b8c1d289.zip |
bgpd: Convert vpn_policy_direction_t 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 a98479bf5..dfed9f2ae 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -192,11 +192,11 @@ struct bgp_redist { struct bgp_rmap rmap; }; -typedef enum { +enum vpn_policy_direction { BGP_VPN_POLICY_DIR_FROMVPN = 0, BGP_VPN_POLICY_DIR_TOVPN = 1, BGP_VPN_POLICY_DIR_MAX = 2 -} vpn_policy_direction_t; +}; struct vpn_policy { struct bgp *bgp; /* parent */ |