summaryrefslogtreecommitdiffstats
path: root/lib/routemap.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-08-04 00:00:34 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-08-04 16:16:09 +0200
commitb34232cf863072d69e6b62a38c410f6c49db397d (patch)
tree0a6813fd69e50e885e883d6c3f47e875b1c304a3 /lib/routemap.c
parentMerge pull request #6844 from donaldsharp/bestpath_routes (diff)
downloadfrr-b34232cf863072d69e6b62a38c410f6c49db397d.tar.xz
frr-b34232cf863072d69e6b62a38c410f6c49db397d.zip
lib, tests: Add notation about whether or not a route-map is about to be reprocessed
When you make a change to a route-map or a prefix-list it depends on, note that the route-map needs to be reprocessed for the change. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index 22b4beb79..639e7f63d 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -821,9 +821,10 @@ static void vty_show_route_map_entry(struct vty *vty, struct route_map *map)
struct route_map_index *index;
struct route_map_rule *rule;
- vty_out(vty, "route-map: %s Invoked: %" PRIu64 " Optimization: %s\n",
+ vty_out(vty, "route-map: %s Invoked: %" PRIu64 " Optimization: %s Processed Change: %s\n",
map->name, map->applied - map->applied_clear,
- map->optimization_disabled ? "disabled" : "enabled");
+ map->optimization_disabled ? "disabled" : "enabled",
+ map->to_be_processed ? "true" : "false");
for (index = map->head; index; index = index->next) {
vty_out(vty, " %s, sequence %d Invoked %" PRIu64 "\n",