summaryrefslogtreecommitdiffstats
path: root/isisd/isis_nb_config.c
diff options
context:
space:
mode:
authorIsabella de Leon <ideleon@microsoft.com>2022-10-12 19:52:27 +0200
committerIsabella de Leon <ideleon@microsoft.com>2022-10-12 19:52:27 +0200
commit4afc783610548a47bcc115ce7f5b893658fffd1d (patch)
tree6437448dd6330165a5dc6320e845b656d316466b /isisd/isis_nb_config.c
parenttests: Add test to cover set-overload-bit on-startup functionality (diff)
downloadfrr-4afc783610548a47bcc115ce7f5b893658fffd1d.tar.xz
frr-4afc783610548a47bcc115ce7f5b893658fffd1d.zip
isisd: Add expected behavior with set-overload-bit
Signed-off-by: Isabella de Leon <ideleon@microsoft.com>
Diffstat (limited to 'isisd/isis_nb_config.c')
-rw-r--r--isisd/isis_nb_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_nb_config.c b/isisd/isis_nb_config.c
index 14a66d256..214209e64 100644
--- a/isisd/isis_nb_config.c
+++ b/isisd/isis_nb_config.c
@@ -350,6 +350,8 @@ int isis_instance_overload_enabled_modify(struct nb_cb_modify_args *args)
area = nb_running_get_entry(args->dnode, NULL, true);
overload = yang_dnode_get_bool(args->dnode, NULL);
+ area->overload_configured = overload;
+
isis_area_overload_bit_set(area, overload);
return NB_OK;