diff options
Diffstat (limited to 'proto/bgp/config.Y')
-rw-r--r-- | proto/bgp/config.Y | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y index e2dc4053..63e82285 100644 --- a/proto/bgp/config.Y +++ b/proto/bgp/config.Y @@ -135,16 +135,18 @@ bgp_proto: ; bgp_afi: - IPV4 { $$ = BGP_AF_IPV4; } - | IPV6 { $$ = BGP_AF_IPV6; } - | IPV4 MULTICAST { $$ = BGP_AF_IPV4_MC; } - | IPV6 MULTICAST { $$ = BGP_AF_IPV6_MC; } - | IPV4 MPLS { $$ = BGP_AF_IPV4_MPLS; } - | IPV6 MPLS { $$ = BGP_AF_IPV6_MPLS; } - | VPN4 MPLS { $$ = BGP_AF_VPN4_MPLS; } - | VPN6 MPLS { $$ = BGP_AF_VPN6_MPLS; } - | FLOW4 { $$ = BGP_AF_FLOW4; } - | FLOW6 { $$ = BGP_AF_FLOW6; } + IPV4 { $$ = BGP_AF_IPV4; } + | IPV6 { $$ = BGP_AF_IPV6; } + | IPV4 MULTICAST { $$ = BGP_AF_IPV4_MC; } + | IPV6 MULTICAST { $$ = BGP_AF_IPV6_MC; } + | IPV4 MPLS { $$ = BGP_AF_IPV4_MPLS; } + | IPV6 MPLS { $$ = BGP_AF_IPV6_MPLS; } + | VPN4 MPLS { $$ = BGP_AF_VPN4_MPLS; } + | VPN6 MPLS { $$ = BGP_AF_VPN6_MPLS; } + | VPN4 MULTICAST { $$ = BGP_AF_VPN4_MC; } + | VPN6 MULTICAST { $$ = BGP_AF_VPN6_MC; } + | FLOW4 { $$ = BGP_AF_FLOW4; } + | FLOW6 { $$ = BGP_AF_FLOW6; } ; bgp_channel_start: bgp_afi |