@@ -155,20 +155,20 @@ start_tls_listener(TLSConf0, CowboyOpts) ->
155
155
156
156
listener_started (Protocol , Listener ) ->
157
157
Port = rabbit_misc :pget (port , Listener ),
158
- case rabbit_misc :pget (ip , Listener ) of
159
- undefined ->
160
- [rabbit_networking :tcp_listener_started (Protocol , Listener ,
161
- IPAddress , Port )
162
- || {IPAddress , _Port , _Family }
163
- <- rabbit_networking :tcp_listener_addresses (Port )];
164
- IP when is_tuple (IP ) ->
165
- rabbit_networking :tcp_listener_started (Protocol , Listener ,
166
- IP , Port );
167
- IP when is_list (IP ) ->
168
- {ok , ParsedIP } = inet_parse :address (IP ),
169
- rabbit_networking :tcp_listener_started (Protocol , Listener ,
170
- ParsedIP , Port )
171
- end ,
158
+ _ = case rabbit_misc :pget (ip , Listener ) of
159
+ undefined ->
160
+ [rabbit_networking :tcp_listener_started (Protocol , Listener ,
161
+ IPAddress , Port )
162
+ || {IPAddress , _Port , _Family }
163
+ <- rabbit_networking :tcp_listener_addresses (Port )];
164
+ IP when is_tuple (IP ) ->
165
+ rabbit_networking :tcp_listener_started (Protocol , Listener ,
166
+ IP , Port );
167
+ IP when is_list (IP ) ->
168
+ {ok , ParsedIP } = inet_parse :address (IP ),
169
+ rabbit_networking :tcp_listener_started (Protocol , Listener ,
170
+ ParsedIP , Port )
171
+ end ,
172
172
ok .
173
173
174
174
get_tcp_conf (TCPConf0 ) ->
0 commit comments