Merge pull request #43125 from grahamc/fix-network-lo-alias

networking: Fix timeout when `lo` has aliased IPs
This commit is contained in:
Graham Christensen 2018-07-06 16:10:58 -04:00 committed by GitHub
commit a8978f9b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1053,7 +1053,7 @@ in
}; };
} // (listToAttrs (flip map interfaces (i: } // (listToAttrs (flip map interfaces (i:
let let
deviceDependency = if config.boot.isContainer deviceDependency = if (config.boot.isContainer || i.name == "lo")
then [] then []
else [ (subsystemDevice i.name) ]; else [ (subsystemDevice i.name) ];
in in