diff options
Diffstat (limited to 'server/grpc_server.go')
-rw-r--r-- | server/grpc_server.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/grpc_server.go b/server/grpc_server.go index 01acaf3d..c218a4ac 100644 --- a/server/grpc_server.go +++ b/server/grpc_server.go @@ -56,6 +56,8 @@ func convertAf2Rf(af *api.AddressFamily) (bgp.RouteFamily, error) { return bgp.RF_EVPN, nil } else if af.Equal(api.AF_ENCAP) { return bgp.RF_ENCAP, nil + } else if af.Equal(api.AF_RTC) { + return bgp.RF_RTC_UC, nil } return bgp.RouteFamily(0), fmt.Errorf("unsupported address family: %v", af) |