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

[iccpd] Modify the log information in redirecting mac to peerlink. #6613

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdddean
Copy link
Contributor

@sdddean sdddean commented Jan 30, 2021

Signed-off-by: sundandan sundandan@asterfusion.com

- Why I did it
After mclag-interface goes down, and peer-link is up, the mac entries which are not aged on peer will be redirect to peer-link. And the mac_msg->ifname will be set to peer_itf_name in line 1173 or line 1181. So the log info in line 1184 should use mac_msg->origin_ifname not mac_msg->ifname.

- How I did it

- How to verify it
Watch the log info after shutdown the mclag-interface

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: sundandan <sundandan@asterfusion.com>
@sdddean sdddean requested a review from lguohan as a code owner February 6, 2021 20:29
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.

1 participant