diff options
| author | Russ White <russ@riw.us> | 2021-02-23 11:15:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-23 11:15:31 -0500 |
| commit | 33d1282f3d45d59517fb532ec6a60bdf27faecda (patch) | |
| tree | 14dcc2e19a87169a31f4e4ddf8fcc31315fd66a5 /lib/routing_nb.h | |
| parent | a09016c833c8f56a4eb567e431e589fb2e0f689c (diff) | |
| parent | 2ada626940e6396a8313eb5688835e8fc38b571d (diff) | |
Merge pull request #8095 from idryzhov/fix-nb-stale-pointers
fix stale pointers in northbound nodes
Diffstat (limited to 'lib/routing_nb.h')
| -rw-r--r-- | lib/routing_nb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/routing_nb.h b/lib/routing_nb.h index d1b59ea29e..ffba631a10 100644 --- a/lib/routing_nb.h +++ b/lib/routing_nb.h @@ -15,10 +15,17 @@ int routing_control_plane_protocols_control_plane_protocol_destroy( #define FRR_ROUTING_KEY_XPATH \ "/frr-routing:routing/control-plane-protocols/" \ "control-plane-protocol[type='%s'][name='%s'][vrf='%s']" + +#define FRR_ROUTING_KEY_XPATH_VRF \ + "/frr-routing:routing/control-plane-protocols/" \ + "control-plane-protocol[vrf='%s']" + /* * callbacks for routing to handle configuration events * based on the control plane protocol */ DECLARE_HOOK(routing_conf_event, (struct nb_cb_create_args *args), (args)) +void routing_control_plane_protocols_register_vrf_dependency(void); + #endif /* _FRR_ROUTING_NB_H_ */ |
