diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-10-24 09:25:54 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-11-04 13:34:27 -0400 |
| commit | f3c6dd49f47d4d092a43d55d4af87521a323b3ae (patch) | |
| tree | 8ea9464fc6d205cd4c96cfb9bedc8b8de6e34dd4 /pbrd/pbr_nht.c | |
| parent | f0f618dcdbcd70047897109851b61ded5a63d5e8 (diff) | |
*: Add ability for daemons to notice resilience changes
This patch just introduces the callback mechanism for the
resilient nexthop changes so that upper level daemons
can take advantage of the change. This does nothing
at this point but just call some code.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pbrd/pbr_nht.c')
| -rw-r--r-- | pbrd/pbr_nht.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c index cbff4832a4..298c961519 100644 --- a/pbrd/pbr_nht.c +++ b/pbrd/pbr_nht.c @@ -229,6 +229,10 @@ void pbr_nhgroup_add_cb(const char *name) pbr_map_check_nh_group_change(name); } +void pbr_nhgroup_modify_cb(const struct nexthop_group_cmd *nhgc) +{ +} + void pbr_nhgroup_add_nexthop_cb(const struct nexthop_group_cmd *nhgc, const struct nexthop *nhop) { |
