diff options
Diffstat (limited to 'packet/bgp')
-rw-r--r-- | packet/bgp/validate.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/bgp/validate.go b/packet/bgp/validate.go index 84a82c87..da7aa5fc 100644 --- a/packet/bgp/validate.go +++ b/packet/bgp/validate.go @@ -82,9 +82,9 @@ func ValidateAttribute(a PathAttributeInterface, rfs map[RouteFamily]bool, doCon case RF_FS_IPv6_UC: value = prefix.(*FlowSpecIPv6Unicast).Value case RF_FS_IPv4_VPN: - value = prefix.(*FlowSpecIPv6VPN).Value - case RF_FS_IPv6_VPN: value = prefix.(*FlowSpecIPv4VPN).Value + case RF_FS_IPv6_VPN: + value = prefix.(*FlowSpecIPv6VPN).Value case RF_FS_L2_VPN: value = prefix.(*FlowSpecL2VPN).Value } |