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) #16

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

yaqiangz
Copy link
Collaborator

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 marked this pull request as ready for review January 10, 2024 01:25
@yaqiangz yaqiangz requested a review from kellyyeh January 10, 2024 01:31
@yaqiangz yaqiangz merged commit 2443073 into sonic-net:202311 Jan 10, 2024
5 checks passed
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