summaryrefslogtreecommitdiff
path: root/isisd/isis_nb_config.c
diff options
context:
space:
mode:
authorDiogo Oliveira <14191454+dorDiogo@users.noreply.github.com>2023-01-20 17:08:45 -0800
committerDiogo Oliveira <14191454+dorDiogo@users.noreply.github.com>2023-02-28 08:48:30 -0800
commite36ec6acbc347625e7fa1c6f63722292117884b5 (patch)
treec3f1ac316c9b755e027bac93ee9b4f4ffc869169 /isisd/isis_nb_config.c
parent617d2b71c0d1b61dfb319f5f629953a95e6beef5 (diff)
isisd: Add support for isis hello padding sometimes
New configuration to pad ISIS hello packets during adjacency formation only. Signed-off-by: Diogo Oliveira <14191454+dorDiogo@users.noreply.github.com>
Diffstat (limited to 'isisd/isis_nb_config.c')
-rw-r--r--isisd/isis_nb_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_nb_config.c b/isisd/isis_nb_config.c
index ea021a4ff5..fbb237688b 100644
--- a/isisd/isis_nb_config.c
+++ b/isisd/isis_nb_config.c
@@ -2765,7 +2765,7 @@ int lib_interface_isis_hello_padding_modify(struct nb_cb_modify_args *args)
return NB_OK;
circuit = nb_running_get_entry(args->dnode, NULL, true);
- circuit->pad_hellos = yang_dnode_get_bool(args->dnode, NULL);
+ circuit->pad_hellos = yang_dnode_get_enum(args->dnode, NULL);
return NB_OK;
}