]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bfdd: update detect multiplier on profile change
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Sun, 28 Jun 2020 21:07:38 +0000 (18:07 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 13 Jul 2020 13:12:18 +0000 (10:12 -0300)
Add missing profile update hook for detection multiplier change.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bfdd/bfdd_nb_config.c

index de11997d1aa131c75e558965b6e365ae8fa612ce..915a2f6419808d05d5a5d11eb5db520bc46a1a26 100644 (file)
@@ -257,6 +257,7 @@ int bfdd_bfd_profile_detection_multiplier_modify(struct nb_cb_modify_args *args)
 
        bp = nb_running_get_entry(args->dnode, NULL, true);
        bp->detection_multiplier = yang_dnode_get_uint8(args->dnode, NULL);
+       bfd_profile_update(bp);
 
        return NB_OK;
 }