summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-22 10:29:32 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-22 10:35:46 +0100
commitddda1163e4a9ee5c91d678b196ebd37863f1520e (patch)
tree1f87e8c5dbe0901a575b29f806bd544aeeb14abe /smoketest/scripts
parentc3470d902d0083f3034e103771602650420553bc (diff)
downloadvyos-1x-ddda1163e4a9ee5c91d678b196ebd37863f1520e.tar.gz
vyos-1x-ddda1163e4a9ee5c91d678b196ebd37863f1520e.zip
vyos.configdict: T4263: leaf_node_changed() must also honor valueLess CLI nodes
If a valueLess node is added or removed from the CLI, a call to leaf_node_changed() will not detect it. If node is valueLess, on change old or new (depending on addition or deletion) will be {} and is treated as None. Add handler for this special case where old or new is an instance of a dictionary but empty. (cherry picked from commit 149f704a172fb14f16d0ba00ef237b972539492f)
Diffstat (limited to 'smoketest/scripts')
0 files changed, 0 insertions, 0 deletions