diff --git a/fboss/agent/hw/sai/api/PortApi.h b/fboss/agent/hw/sai/api/PortApi.h index 4e66e7de6a896..38ef69766056c 100644 --- a/fboss/agent/hw/sai/api/PortApi.h +++ b/fboss/agent/hw/sai/api/PortApi.h @@ -415,8 +415,10 @@ struct SaiPortTraits { struct AttributeReachabilityGroup { std::optional operator()(); }; - using ReachabilityGroup = - SaiExtensionAttribute; + using ReachabilityGroup = SaiExtensionAttribute< + sai_uint32_t, + AttributeReachabilityGroup, + SaiIntDefault>; }; using AdapterKey = PortSaiId;