summaryrefslogtreecommitdiffstats
path: root/lib/routemap.c
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-03-21 01:16:05 +0000
committerChris Hall <chris.hall@highwayman.com>2011-03-21 01:16:05 +0000
commit9470cb2c32eab220f796b1438b787528272cbe84 (patch)
treeb9b2cc12446173436d2bc7a32e82cc3378ec721e /lib/routemap.c
parent5cae7eea451f2b7d65b5892e2c1dafc70f8b836e (diff)
downloadquagga-9470cb2c32eab220f796b1438b787528272cbe84.tar.bz2
quagga-9470cb2c32eab220f796b1438b787528272cbe84.tar.xz
Upgrade of "pipework" -- including piping to/from shell commandsex11p
Version 0.99.15ex11p A major overhaul.
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index d716e0b5..6de2098d 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -913,14 +913,15 @@ route_map_finish (void)
}
/* VTY related functions. */
-DEFUN (route_map,
- route_map_cmd,
- "route-map WORD (deny|permit) <1-4294967295>",
- "Create route-map or enter route-map command mode\n"
- "Route map tag\n"
- "Route map denies set operations\n"
- "Route map permits set operations\n"
- "Sequence to insert to/delete from existing route-map entry\n")
+DEFUN_ATTR (route_map,
+ route_map_cmd,
+ "route-map WORD (deny|permit) <1-4294967295>",
+ "Create route-map or enter route-map command mode\n"
+ "Route map tag\n"
+ "Route map denies set operations\n"
+ "Route map permits set operations\n"
+ "Sequence to insert to/delete from existing route-map entry\n",
+ CMD_ATTR_NODE + RMAP_NODE)
{
int permit;
unsigned long seq;