summaryrefslogtreecommitdiff
path: root/python/vyos/configdict.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/configdict.py')
-rw-r--r--python/vyos/configdict.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py
index 551c27b67..f50db0c99 100644
--- a/python/vyos/configdict.py
+++ b/python/vyos/configdict.py
@@ -133,6 +133,9 @@ def leaf_node_changed(conf, path):
elif isinstance(new, type(None)):
new = []
return list_diff(old, new)
+ if old is None and new is not None:
+ # node was added to the CLI
+ return True
return None