diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/vty/command.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/vty/command.c b/src/vty/command.c index 0d24b667..a36f30a3 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -2662,6 +2662,10 @@ int config_from_file(struct vty *vty, FILE * fp)  			indent = NULL;  		}  	} +	/* Make sure we call go_parent_cb for all remaining indent levels at the end of file */ +	while (vty_parent(vty)) +		vty_go_parent(vty); +  	return CMD_SUCCESS;  return_invalid_indent: | 
