diff --git a/fboss/agent/hw/sai/switch/SaiSwitch.cpp b/fboss/agent/hw/sai/switch/SaiSwitch.cpp index afe50f57f8f01..8646efb6f74c8 100644 --- a/fboss/agent/hw/sai/switch/SaiSwitch.cpp +++ b/fboss/agent/hw/sai/switch/SaiSwitch.cpp @@ -3353,7 +3353,8 @@ bool SaiSwitch::sendPacketSwitchedSync(std::unique_ptr pkt) noexcept { XLOG(DBG6) << PktUtil::hexDump(cursor); SaiTxPacketTraits::Attributes::TxType txType( SAI_HOSTIF_TX_TYPE_PIPELINE_LOOKUP); - SaiTxPacketTraits::TxAttributes attributes{txType, 0, std::nullopt}; + SaiTxPacketTraits::TxAttributes attributes{ + txType, std::nullopt, std::nullopt}; SaiHostifApiPacket txPacket{ reinterpret_cast(pkt->buf()->writableData()), pkt->buf()->length()};