Commit cbb57385 authored by Francis Dupont's avatar Francis Dupont

[327-split-transmission-and-reception-control-buffers] Simplified condition

parent fd2bb674
......@@ -516,8 +516,7 @@ IfaceMgr::openSockets4(const uint16_t port, const bool use_bcast,
}
IOAddress out_address("0.0.0.0");
if (!iface->flag_up_ || !iface->flag_running_ ||
!iface->getAddress4(out_address)) {
if (iface->getAddress4(out_address)) {
IFACEMGR_ERROR(SocketConfigError, error_handler,
"the interface " << iface->getName()
<< " has no usable IPv4 addresses configured");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment