From 31d62783129976be2bdeb2399e927ae2c6ca4b63 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 11 Aug 2008 15:34:54 -0700 Subject: Make command nodes static The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101). --- lib/routemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/routemap.c') diff --git a/lib/routemap.c b/lib/routemap.c index 58ed09a7..5f7a3182 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -1280,7 +1280,7 @@ route_map_config_write (struct vty *vty) } /* Route map node structure. */ -struct cmd_node rmap_node = +static struct cmd_node rmap_node = { RMAP_NODE, "%s(config-route-map)# ", -- cgit v1.2.3