[sr-dev] git:4.2: uac: proper set of enabled/disabled flag for reg reocrds via rpc
Daniel-Constantin Mierla
miconda at gmail.com
Wed Oct 22 19:16:05 CEST 2014
Module: sip-router
Branch: 4.2
Commit: 6649d9809ed6e527aaef45bb7a137c49e3d9d3de
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6649d9809ed6e527aaef45bb7a137c49e3d9d3de
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Wed Oct 22 19:14:03 2014 +0200
uac: proper set of enabled/disabled flag for reg reocrds via rpc
- patch by Savolainen Dmitri, FS#483
(cherry picked from commit da844d7cc76e4db3b4bb2d9e5ba62cdfb394b110)
---
modules/uac/uac_reg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/uac/uac_reg.c b/modules/uac/uac_reg.c
index 8c354ad..db89917 100644
--- a/modules/uac/uac_reg.c
+++ b/modules/uac/uac_reg.c
@@ -1656,7 +1656,7 @@ static const char* rpc_uac_reg_enable_doc[2] = {
static void rpc_uac_reg_enable(rpc_t* rpc, void* ctx)
{
- rpc_uac_reg_update_flag(rpc, ctx, 1, UAC_REG_DISABLED);
+ rpc_uac_reg_update_flag(rpc, ctx, 0, UAC_REG_DISABLED);
}
static const char* rpc_uac_reg_disable_doc[2] = {
@@ -1666,7 +1666,7 @@ static const char* rpc_uac_reg_disable_doc[2] = {
static void rpc_uac_reg_disable(rpc_t* rpc, void* ctx)
{
- rpc_uac_reg_update_flag(rpc, ctx, 0, UAC_REG_DISABLED);
+ rpc_uac_reg_update_flag(rpc, ctx, 1, UAC_REG_DISABLED);
}
static const char* rpc_uac_reg_reload_doc[2] = {
More information about the sr-dev
mailing list