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

[202311][counter] Clear counter table when dhcpmon init (#14) #15

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

yaqiangz
Copy link
Collaborator

@yaqiangz yaqiangz commented Jan 8, 2024

Cherry-pick from #14

Why I did it

Fix issue sonic-net/sonic-buildimage#15047
dhcp counter didn't restore after config reload

Work item tracking
  • Microsoft ADO (number only): 26270786

How I did it

  1. Clear all counters when dhcpmon start
  2. Remove clear counter in initialize_counter since they are cleared in previous

How to verify it

  1. Build debian packet and install in DUT do manually testing
  2. Run dhcp_relay test, all passed

@yaqiangz yaqiangz merged commit fc20a97 into sonic-net:master Jan 10, 2024
5 checks passed
@yaqiangz
Copy link
Collaborator Author

This PR is merged into master by mistake, it's same as previous commit in master branch, would cause some confusion.

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