summaryrefslogtreecommitdiff
path: root/pbrd/pbr_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-10-24 09:25:54 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-11-04 13:34:27 -0400
commitf3c6dd49f47d4d092a43d55d4af87521a323b3ae (patch)
tree8ea9464fc6d205cd4c96cfb9bedc8b8de6e34dd4 /pbrd/pbr_main.c
parentf0f618dcdbcd70047897109851b61ded5a63d5e8 (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_main.c')
-rw-r--r--pbrd/pbr_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pbrd/pbr_main.c b/pbrd/pbr_main.c
index 59aa3676bf..28a7b62d10 100644
--- a/pbrd/pbr_main.c
+++ b/pbrd/pbr_main.c
@@ -160,10 +160,9 @@ int main(int argc, char **argv, char **envp)
pbr_debug_init();
- nexthop_group_init(pbr_nhgroup_add_cb,
+ nexthop_group_init(pbr_nhgroup_add_cb, pbr_nhgroup_modify_cb,
pbr_nhgroup_add_nexthop_cb,
- pbr_nhgroup_del_nexthop_cb,
- pbr_nhgroup_delete_cb);
+ pbr_nhgroup_del_nexthop_cb, pbr_nhgroup_delete_cb);
/*
* So we safely ignore these commands since