diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2022-05-10 13:23:40 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-12-05 14:38:52 +0100 |
commit | a38ed18a4ed77a31584f2692da6f40fb53cd47fe (patch) | |
tree | 28dbdb64a24f77f021507dfafe00e74119cbcd3b /pimd/pim_nb_config.c | |
parent | yang,pimd: support shutdown and SA limit (diff) | |
download | frr-a38ed18a4ed77a31584f2692da6f40fb53cd47fe.tar.xz frr-a38ed18a4ed77a31584f2692da6f40fb53cd47fe.zip |
pimd: implement MSDP peer SA limiting
Implement a command to enable/disable per peer MSDP SA limiting.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | pimd/pim_nb_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_nb_config.c b/pimd/pim_nb_config.c index b563bf5a3..fbba04598 100644 --- a/pimd/pim_nb_config.c +++ b/pimd/pim_nb_config.c @@ -1595,7 +1595,7 @@ int pim_msdp_peer_sa_limit_modify(struct nb_cb_modify_args *args) break; case NB_EV_APPLY: mp = nb_running_get_entry(args->dnode, NULL, true); - /* TODO: apply limitation. */ + mp->sa_limit = yang_dnode_get_uint32(args->dnode, NULL); break; } @@ -1614,7 +1614,7 @@ int pim_msdp_peer_sa_limit_destroy(struct nb_cb_destroy_args *args) break; case NB_EV_APPLY: mp = nb_running_get_entry(args->dnode, NULL, true); - /* TODO: remove limitation. */ + mp->sa_limit = 0; break; } |