summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2008-09-04 13:52:38 +0100
committerPaul Jakma <paul@quagga.net>2008-09-04 13:52:38 +0100
commitef16c8a2abd39b14fed45665eda5c293b93ee54b (patch)
tree3e8a386296fcc36ec3ffef6ebbf38da36c7cfdcf /lib/command.h
parentb3bc68e5a4eecd85138463ae5742c2ccaa1db4bb (diff)
parent62687ff1cd3d4460cdbd4b0fbf1e3298fe277ad2 (diff)
Merge branch 'restricted-mode'
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index a7253788..d093df3c 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -63,6 +63,7 @@ struct host
enum node_type
{
AUTH_NODE, /* Authentication mode of vty interface. */
+ RESTRICTED_NODE, /* Restricted view mode */
VIEW_NODE, /* View node. Default mode of vty interface. */
AUTH_ENABLE_NODE, /* Authentication mode for change enable. */
ENABLE_NODE, /* Enable node. */
@@ -100,7 +101,7 @@ enum node_type
DUMP_NODE, /* Packet dump node. */
FORWARDING_NODE, /* IP forwarding node. */
PROTOCOL_NODE, /* protocol filtering node */
- VTY_NODE /* Vty node. */
+ VTY_NODE, /* Vty node. */
};
/* Node which has some commands and prompt string and configuration