diff options
Diffstat (limited to 'lib/routemap.h')
| -rw-r--r-- | lib/routemap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/routemap.h b/lib/routemap.h index 481b8c4a9a..463aa91725 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -220,6 +220,9 @@ extern void route_map_install_set(struct route_map_rule_cmd *cmd); /* Lookup route map by name. */ extern struct route_map *route_map_lookup_by_name(const char *name); +/* Simple helper to warn if route-map does not exist. */ +struct route_map *route_map_lookup_warn_noexist(struct vty *vty, const char *name); + /* Apply route map to the object. */ extern route_map_result_t route_map_apply(struct route_map *map, const struct prefix *prefix, |
