diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-12-09 11:36:48 -0600 |
---|---|---|
committer | John Estabrook <jestabro@sentrium.io> | 2019-12-09 11:38:32 -0600 |
commit | 12a21a4bba6dfeb3ebb005b62748a2dbaabd84df (patch) | |
tree | 0e425185ea6c3244aa5b2776e75bad51cf5a4189 /python/vyos | |
parent | 9080dda455052203c5b53d9d1f8bf08156c9af51 (diff) | |
download | vyos-1x-12a21a4bba6dfeb3ebb005b62748a2dbaabd84df.tar.gz vyos-1x-12a21a4bba6dfeb3ebb005b62748a2dbaabd84df.zip |
vyos.config: T1846: ignore edit level when obtaining working config
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/config.py b/python/vyos/config.py index c677d3118..532b56571 100644 --- a/python/vyos/config.py +++ b/python/vyos/config.py @@ -107,7 +107,7 @@ class Config(object): # Session config ("active") only exists in conf mode. # In op mode, we'll just use the same running config for both active and session configs. if self.in_session(): - session_config_text = self._run([self._cli_shell_api, '--show-working-only', '--show-show-defaults', 'showConfig']) + session_config_text = self._run([self._cli_shell_api, '--show-working-only', '--show-show-defaults', '--show-ignore-edit', 'showConfig']) else: session_config_text = running_config_text |