commit | 7fc626de5f618133ad2a478d13defa3a110b89ea | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Mon Dec 01 11:10:34 2008 -0800 |
committer | Paul Jakma <paul@quagga.net> | Fri Jun 12 17:10:29 2009 +0100 |
tree | 432ff0e4672eabc2ec6b0dcffc22dcc0aee532c8 | |
parent | 66e5cd87194ae6fdd51061a91b4698bc0a652f6b [diff] [blame] |
[cleanup] Make command nodes static The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101).
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 7b00e03..9deac03 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c
@@ -2682,7 +2682,7 @@ } /* RIPng node structure. */ -struct cmd_node cmd_ripng_node = +static struct cmd_node cmd_ripng_node = { RIPNG_NODE, "%s(config-router)# ",