Fix parseIP error when parseIP before get AddressFamily#2433
Fix parseIP error when parseIP before get AddressFamily#2433selansen merged 1 commit intomoby:masterfrom
Conversation
|
@icefed thanks for fixing this issue thinking if something like this would be cleaner initialize and when we receive |
|
can we also add a test case for this, so we catch it, if its 100% reproducible |
Hi @arkodg, |
Sorry for miss this, I will add test later. |
12eda0b to
5cb7238
Compare
|
hi @arkodg, I added tests for ipv6 and local passed, I don't know |
|
@icefed can you please rebase to the latest |
Signed-off-by: Tom Zhao <zlwangel@gmail.com>
5cb7238 to
8b4b738
Compare
|
@arkodg looks like this was rebased; CI is green now |
full diff: moby/libnetwork@09cdcc8...92d1fbe relevant changes included (omitting some changes that were added _and_ reverted in this bump): - moby/libnetwork#2433 Fix parseIP error when parseIP before get AddressFamily - fixes moby/libnetwork#2431 parseIP Error ip=[172 17 0 2 0 0 0 0 0 0 0 0 0 0 0 0] - moby/libnetwork#2289 - this was a regression introduced in moby/libnetwork#2416 Fix hardcoded AF_INET for IPv6 address handling - moby/libnetwork#2440 Bump hashicorp go-sockaddr v1.0.2, go-multierror v1.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
full diff: moby/libnetwork@09cdcc8...92d1fbe relevant changes included (omitting some changes that were added _and_ reverted in this bump): - moby/libnetwork#2433 Fix parseIP error when parseIP before get AddressFamily - fixes moby/libnetwork#2431 parseIP Error ip=[172 17 0 2 0 0 0 0 0 0 0 0 0 0 0 0] - moby/libnetwork#2289 - this was a regression introduced in moby/libnetwork#2416 Fix hardcoded AF_INET for IPv6 address handling - moby/libnetwork#2440 Bump hashicorp go-sockaddr v1.0.2, go-multierror v1.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: bab58c19246bfaad9bbff8dd88f1b6a224b8dc22 Component: engine
full diff: moby/libnetwork@09cdcc8...92d1fbe relevant changes included (omitting some changes that were added _and_ reverted in this bump): - moby/libnetwork#2433 Fix parseIP error when parseIP before get AddressFamily - fixes moby/libnetwork#2431 parseIP Error ip=[172 17 0 2 0 0 0 0 0 0 0 0 0 0 0 0] - moby/libnetwork#2289 - this was a regression introduced in moby/libnetwork#2416 Fix hardcoded AF_INET for IPv6 address handling - moby/libnetwork#2440 Bump hashicorp go-sockaddr v1.0.2, go-multierror v1.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit bab58c1) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
full diff: moby/libnetwork@09cdcc8...92d1fbe relevant changes included (omitting some changes that were added _and_ reverted in this bump): - moby/libnetwork#2433 Fix parseIP error when parseIP before get AddressFamily - fixes moby/libnetwork#2431 parseIP Error ip=[172 17 0 2 0 0 0 0 0 0 0 0 0 0 0 0] - moby/libnetwork#2289 - this was a regression introduced in moby/libnetwork#2416 Fix hardcoded AF_INET for IPv6 address handling - moby/libnetwork#2440 Bump hashicorp go-sockaddr v1.0.2, go-multierror v1.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit bab58c19246bfaad9bbff8dd88f1b6a224b8dc22) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 44ca36c7cff269fbf53b98c73b1eea36a17bdf3a Component: engine
full diff: moby/libnetwork@09cdcc8...92d1fbe relevant changes included (omitting some changes that were added _and_ reverted in this bump): - moby/libnetwork#2433 Fix parseIP error when parseIP before get AddressFamily - fixes moby/libnetwork#2431 parseIP Error ip=[172 17 0 2 0 0 0 0 0 0 0 0 0 0 0 0] - moby/libnetwork#2289 - this was a regression introduced in moby/libnetwork#2416 Fix hardcoded AF_INET for IPv6 address handling - moby/libnetwork#2440 Bump hashicorp go-sockaddr v1.0.2, go-multierror v1.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Signed-off-by: zach <Zachary.Joyner@linux.com>
Signed-off-by: Tom Zhao zlwangel@gmail.com
Fix: #2431