@@ -143,20 +143,20 @@ start_tls_listener(TLSConf0, CowboyOpts) ->
143
143
144
144
listener_started (Protocol , Listener ) ->
145
145
Port = rabbit_misc :pget (port , Listener ),
146
- case rabbit_misc :pget (ip , Listener ) of
147
- undefined ->
148
- [rabbit_networking :tcp_listener_started (Protocol , Listener ,
149
- IPAddress , Port )
150
- || {IPAddress , _Port , _Family }
151
- <- rabbit_networking :tcp_listener_addresses (Port )];
152
- IP when is_tuple (IP ) ->
153
- rabbit_networking :tcp_listener_started (Protocol , Listener ,
154
- IP , Port );
155
- IP when is_list (IP ) ->
156
- {ok , ParsedIP } = inet_parse :address (IP ),
157
- rabbit_networking :tcp_listener_started (Protocol , Listener ,
158
- ParsedIP , Port )
159
- end ,
146
+ _ = case rabbit_misc :pget (ip , Listener ) of
147
+ undefined ->
148
+ [rabbit_networking :tcp_listener_started (Protocol , Listener ,
149
+ IPAddress , Port )
150
+ || {IPAddress , _Port , _Family }
151
+ <- rabbit_networking :tcp_listener_addresses (Port )];
152
+ IP when is_tuple (IP ) ->
153
+ rabbit_networking :tcp_listener_started (Protocol , Listener ,
154
+ IP , Port );
155
+ IP when is_list (IP ) ->
156
+ {ok , ParsedIP } = inet_parse :address (IP ),
157
+ rabbit_networking :tcp_listener_started (Protocol , Listener ,
158
+ ParsedIP , Port )
159
+ end ,
160
160
ok .
161
161
162
162
get_tcp_conf (TCPConf0 ) ->
0 commit comments