This PR refactors the code that was used to store the IPv4 and IPv6 next-hop addresses into counters and print them out in top. Before the counters were lwAFTR state counters and actually it was not working as intended.
In this PR the next-hop values are stores in counters in ARP and NDP apps. That makes sense since these apps are the responsible apps for this operation.
This PR refactors the code that was used to store the IPv4 and IPv6 next-hop addresses into counters and print them out in
top
. Before the counters were lwAFTR state counters and actually it was not working as intended.In this PR the next-hop values are stores in counters in ARP and NDP apps. That makes sense since these apps are the responsible apps for this operation.