diff options
| -rw-r--r-- | src/vty/command.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/vty/command.c b/src/vty/command.c index df2ffeab..7f76ced2 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -2291,7 +2291,7 @@ gDEFUN(config_exit,        config_end_cmd, "end", "End current mode and change to enable mode.")  {  	if (vty->node > ENABLE_NODE) { -		enum node_type last_node = CONFIG_NODE; +		int last_node = CONFIG_NODE;  		/* Repeatedly call go_parent until a top node is reached. */  		while (vty->node > CONFIG_NODE) { | 
