From 9c2fd3fe44dc9979a34b94f465639cd9b8c1d289 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 12 Apr 2022 11:34:27 +0300 Subject: bgpd: Convert vpn_policy_direction_t to enum Signed-off-by: Donatas Abraitis --- bgpd/bgpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd/bgpd.h') 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 */ -- cgit v1.2.3