mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Sometimes `ip route` will show mask-less IPs, so net.ParseCIDR will fail. If it does we check if we can net.ParseIP, and fail only if we can't. Fixes #1214 Fixes #362 Upstream-commit: 2e72882216ce13169a578614202830a5b084bfb4 Component: engine