Skip to content

Commit

Permalink
Update PN with XPN support (sonic-net#1081)
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <[email protected]>
  • Loading branch information
Pterosaur authored and skbarista committed Dec 2, 2022
1 parent 2b26c86 commit 1229d38
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vslib/MACsecManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,14 @@ bool MACsecManager::update_macsec_sa_pn(
ostream << " rx sci " << attr.m_sci;
}

ostream << " sa " << attr.m_an << " pn " << pn;
ostream << " sa " << attr.m_an;

if (attr.is_xpn())
{
ostream << " ssci " << attr.m_ssci;
}

ostream << " pn " << pn;

SWSS_LOG_NOTICE("%s", ostream.str().c_str());

Expand Down

0 comments on commit 1229d38

Please sign in to comment.