diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index 5d8f18771..fbbe41d3d 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -8273,7 +8273,7 @@ func RouteFamilyToAfiSafi(rf RouteFamily) (uint16, uint8) { return uint16(int(rf) >> 16), uint8(int(rf) & 0xff) } -type RouteFamily int +type RouteFamily uint32 func (f RouteFamily) String() string { if n, y := AddressFamilyNameMap[f]; y {