Skip to content

Commit

Permalink
core: fix bitwise test for priting socket details
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Oct 13, 2017
1 parent f662a62 commit 18b9962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/socket_info.c
Expand Up @@ -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,
Expand Down

0 comments on commit 18b9962

Please sign in to comment.