Module: kamailio Branch: master Commit: d0b1d6cc15b1c4e98ac65e4d90c6f53f2da63218 URL: https://github.com/kamailio/kamailio/commit/d0b1d6cc15b1c4e98ac65e4d90c6f53f2da63218
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2023-01-05T13:16:27+01:00 permissions: set the RPC_EXEC_DELTA flag for RPC reload commands --- Modified: src/modules/permissions/permissions.c --- Diff: https://github.com/kamailio/kamailio/commit/d0b1d6cc15b1c4e98ac65e4d90c6f53f2da63218.diff Patch: https://github.com/kamailio/kamailio/commit/d0b1d6cc15b1c4e98ac65e4d90c6f53f2da63218.patch --- diff --git a/src/modules/permissions/permissions.c b/src/modules/permissions/permissions.c index 6f1b36cf23..cffa419d4e 100644 --- a/src/modules/permissions/permissions.c +++ b/src/modules/permissions/permissions.c @@ -1031,8 +1031,8 @@ static const char* rpc_test_uri_doc[2] = { }; rpc_export_t permissions_rpc[] = { - {"permissions.trustedReload", rpc_trusted_reload, rpc_trusted_reload_doc, 0}, - {"permissions.addressReload", rpc_address_reload, rpc_address_reload_doc, 0}, + {"permissions.trustedReload", rpc_trusted_reload, rpc_trusted_reload_doc, RPC_EXEC_DELTA}, + {"permissions.addressReload", rpc_address_reload, rpc_address_reload_doc, RPC_EXEC_DELTA}, {"permissions.trustedDump", rpc_trusted_dump, rpc_trusted_dump_doc, 0}, {"permissions.addressDump", rpc_address_dump, rpc_address_dump_doc, RET_ARRAY}, {"permissions.subnetDump", rpc_subnet_dump, rpc_subnet_dump_doc, RET_ARRAY}, _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org