diff options
author | Michael Lechner <lechner@netography.com> | 2019-06-08 20:33:48 -0400 |
---|---|---|
committer | Michael Lechner <lechner@netography.com> | 2019-06-08 20:33:48 -0400 |
commit | c5c10006c01ea72b135487861f0618171e4bddfd (patch) | |
tree | 910b48a1265be9561cb30dd272281e06a3773a9a /pkg/server/peer.go | |
parent | 9d47a21f32fa0d59730e5da123ef318f494560ce (diff) |
Support ipv4-flowspec for VRF enslaved neighbor
Diffstat (limited to 'pkg/server/peer.go')
-rw-r--r-- | pkg/server/peer.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/server/peer.go b/pkg/server/peer.go index 910c7472..f7b89371 100644 --- a/pkg/server/peer.go +++ b/pkg/server/peer.go @@ -228,6 +228,10 @@ func (peer *peer) toGlobalFamilies(families []bgp.RouteFamily) []bgp.RouteFamily fs = append(fs, bgp.RF_IPv4_VPN) case bgp.RF_IPv6_UC: fs = append(fs, bgp.RF_IPv6_VPN) + case bgp.RF_FS_IPv4_UC: + fs = append(fs, bgp.RF_FS_IPv4_VPN) + case bgp.RF_FS_IPv6_UC: + fs = append(fs, bgp.RF_FS_IPv6_VPN) default: log.WithFields(log.Fields{ "Topic": "Peer", |