]> git.puffer.fish Git - matthieu/frr.git/commitdiff
* routemap.c: Show description in "show route-map" output.
authorhasso <hasso>
Sat, 9 Apr 2005 13:27:50 +0000 (13:27 +0000)
committerhasso <hasso>
Sat, 9 Apr 2005 13:27:50 +0000 (13:27 +0000)
lib/ChangeLog
lib/routemap.c

index 13426eed1c181092289594d10dfdc29ca81fffb4..97b7fb226c92a99547197eb943e621b823b48d59 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-09 Jeroen Simonetti <jeroens@office.netland.nl>
+
+       * routemap.c: Show description in "show route-map" output.
+
 2005-04-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
 
        * sigevent.c: On GNU_LINUX, check whether __USE_GNU is already defined.
index dfd41bc8c354a27047fe9363b2a7f465e6abad9e..cd1abbc957716bfe2a586e221733ec00d79777db 100644 (file)
@@ -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);