mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 02:40:27 +03:00
[pool] Fix check for reopenable pooled connections
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
0eea8b5c3b
commit
4afb758423
@@ -112,7 +112,7 @@ pool_is_reopenable ( struct pooled_connection *pool ) {
|
||||
/* A connection is reopenable if it has been recycled but is
|
||||
* not yet known to be alive.
|
||||
*/
|
||||
return ( ( pool->flags & POOL_RECYCLED ) &
|
||||
return ( ( pool->flags & POOL_RECYCLED ) &&
|
||||
( ! ( pool->flags & POOL_ALIVE ) ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user