Module: kamailio Branch: master Commit: f662a62519f99e046caf03063147104af22ec3c3 URL: https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-10-13T12:33:30+02:00
core: fix for bitwise test in core rpc command
---
Modified: src/core/core_cmd.c
---
Diff: https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104a... Patch: https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104a...
---
diff --git a/src/core/core_cmd.c b/src/core/core_cmd.c index a489a8975d..16b36e5a2b 100644 --- a/src/core/core_cmd.c +++ b/src/core/core_cmd.c @@ -944,7 +944,7 @@ static void core_sockets_list(rpc_t* rpc, void* c) rpc->struct_add(ha, "ss", "proto", get_proto_name(proto), "address", si->name.s); - if (!si->flags & SI_IS_IP) + if (!(si->flags & SI_IS_IP)) rpc->struct_add(ha, "s", "ipaddress", si->address_str.s); rpc->struct_add(ha, "sss",