Module: kamailio
Branch: master
Commit: 18b996262fb1c7bde94b494ce837754dc82c9e7e
URL:
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754…
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 bitwise test for priting socket details
---
Modified: src/core/socket_info.c
---
Diff:
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754…
Patch:
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754…
---
diff --git a/src/core/socket_info.c b/src/core/socket_info.c
index a50cfe3e59..424c5d83e8 100644
--- a/src/core/socket_info.c
+++ b/src/core/socket_info.c
@@ -1913,7 +1913,7 @@ void print_all_socket_lists()
printf(" %s: %s",
get_valid_proto_name(proto),
si->name.s);
- if (!si->flags & SI_IS_IP)
+ if (!(si->flags & SI_IS_IP))
printf(" [%s]", si->address_str.s);
printf( ":%s%s%s",
si->port_no_str.s,