diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-01 11:10:34 -0800 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-06-12 17:10:29 +0100 |
commit | 7fc626de5f618133ad2a478d13defa3a110b89ea (patch) | |
tree | 432ff0e4672eabc2ec6b0dcffc22dcc0aee532c8 /isisd | |
parent | 66e5cd87194ae6fdd51061a91b4698bc0a652f6b (diff) |
[cleanup] Make command nodes static
The cmd_nodes used to configure vty, can mostly be static so
(basic data hiding 101).
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_circuit.c | 2 | ||||
-rw-r--r-- | isisd/isisd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index af24988e..d2923b57 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -2028,7 +2028,7 @@ DEFUN (no_ipv6_router_isis, } #endif /* HAVE_IPV6 */ -struct cmd_node interface_node = { +static struct cmd_node interface_node = { INTERFACE_NODE, "%s(config-if)# ", 1, diff --git a/isisd/isisd.c b/isisd/isisd.c index 7c669fcb..1e84a1ce 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -2076,7 +2076,7 @@ isis_config_write (struct vty *vty) return write; } -struct cmd_node isis_node = { +static struct cmd_node isis_node = { ISIS_NODE, "%s(config-router)# ", 1 |