Module: kamailio
Branch: master
Commit: f662a62519f99e046caf03063147104af22ec3c3
URL:
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/f662a62519f99e046caf03063147104…
Patch:
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104…
---
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",