mirror of
https://github.com/docker/cli.git
synced 2026-01-25 03:42:05 +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: 0ca133dd7681bb3af1d1de18a5ea6ed42142a11e Component: engine