diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2024-03-20 17:12:33 +0100 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-04-22 15:36:22 +0200 |
commit | 5b219644aeeff43521f0b5e7740a3cc841497955 (patch) | |
tree | 8155def3b2a260bfeefa521613504fb9a7da234d /mgmtd/mgmt_fe_adapter.c | |
parent | lib: add native RPC processing to mgmt backend client (diff) | |
download | frr-5b219644aeeff43521f0b5e7740a3cc841497955.tar.xz frr-5b219644aeeff43521f0b5e7740a3cc841497955.zip |
mgmtd: add backend xpath map for RPC
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd/mgmt_fe_adapter.c')
-rw-r--r-- | mgmtd/mgmt_fe_adapter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mgmtd/mgmt_fe_adapter.c b/mgmtd/mgmt_fe_adapter.c index ab0da64d8..8ae473fb6 100644 --- a/mgmtd/mgmt_fe_adapter.c +++ b/mgmtd/mgmt_fe_adapter.c @@ -1215,7 +1215,8 @@ static void fe_adapter_handle_get_data(struct mgmt_fe_session_ctx *session, } darr_free(snodes); - clients = mgmt_be_interested_clients(msg->xpath, false); + clients = mgmt_be_interested_clients(msg->xpath, + MGMT_BE_XPATH_SUBSCR_TYPE_OPER); if (!clients && !CHECK_FLAG(msg->flags, GET_DATA_FLAG_CONFIG)) { __dbg("No backends provide xpath: %s for txn-id: %" PRIu64 " session-id: %" PRIu64, |