From fc20a97ba2eba753974ea95d504d130093030596 Mon Sep 17 00:00:00 2001 From: Yaqiang Zhu Date: Wed, 10 Jan 2024 09:11:25 +0800 Subject: [PATCH] [202311][counter] Clear counter table when dhcpmon init (#14) [202311][counter] Clear counter table when dhcpmon init (#14) 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 Clear all counters when dhcpmon start Remove clear counter in initialize_counter since they are cleared in previous How to verify it Build debian packet and install in DUT do manually testing Run dhcp_relay test, all passed Signed-off-by: Yaqiang Zhu