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 <ganze718@gmail.com>
  • Loading branch information
Pterosaur authored Jul 20, 2022
1 parent f554d34 commit 26094f8
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 26094f8

Please sign in to comment.