]> git.puffer.fish Git - mirror/frr.git/commit
lib: Allow some usage statistics for route-maps 3091/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 25 Sep 2018 19:02:51 +0000 (15:02 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 25 Sep 2018 19:02:51 +0000 (15:02 -0400)
commit279b060775ae01fc09593cca5faaf371e4dae40e
tree4d98c21513984523575e5b826b89013668fa2ec4
parent38ca1c92564235884a4e6cf2227293cbd1b27996
lib: Allow some usage statistics for route-maps

Keep track of how often route-maps are applied and
how often each clause of a route-map is applied.

This change showed that `show route-map` was outputting
odd data so fix that output and add in the applied
times too.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/routemap.c
lib/routemap.h