From 5bb4c1981a518315bf7f4fc81a85baf2061e32fa Mon Sep 17 00:00:00 2001 From: hasso Date: Sat, 9 Apr 2005 13:27:50 +0000 Subject: * routemap.c: Show description in "show route-map" output. --- lib/routemap.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/routemap.c') diff --git a/lib/routemap.c b/lib/routemap.c index dfd41bc8..cd1abbc9 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -209,6 +209,11 @@ vty_show_route_map_entry (struct vty *vty, struct route_map *map) vty_out (vty, "route-map %s, %s, sequence %d%s", map->name, route_map_type_str (index->type), index->pref, VTY_NEWLINE); + + /* Description */ + if (index->description) + vty_out (vty, " Description:%s %s%s", VTY_NEWLINE, + index->description, VTY_NEWLINE); /* Match clauses */ vty_out (vty, " Match clauses:%s", VTY_NEWLINE); -- cgit v1.2.1