Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macsec] Fix acl entry id in updateMACsecPort #1783

Merged
merged 2 commits into from
Jun 15, 2021

Conversation

byu343
Copy link
Contributor

@byu343 byu343 commented Jun 11, 2021

What I did
ACL entry Id should be used as first parameter of setMACsecFlowActive.

Why I did it

How I verified it

Details if related

@prsunny prsunny requested a review from Pterosaur June 11, 2021 21:04
Copy link
Contributor

@Pterosaur Pterosaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@byu343
Copy link
Contributor Author

byu343 commented Jun 15, 2021

I found there are same issues in other places using setMACsecFlowActive
Could you also help to fix them?
E.G.
https://github.com/Azure/sonic-swss/blob/a87ca108242701cf6e85aafa00fe35fde4f59b84/orchagent/macsecorch.cpp#L1111

https://github.com/Azure/sonic-swss/blob/a87ca108242701cf6e85aafa00fe35fde4f59b84/orchagent/macsecorch.cpp#L1697-L1702

That is true. I have submitted another commit to fix it.

@Pterosaur Pterosaur merged commit 3daaa8e into sonic-net:master Jun 15, 2021
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-swss that referenced this pull request Oct 5, 2021
* Fix acl entry id in updateMACsecPort

* Extra fix to calling setMACsecFlowActive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants