Fix parseIP error when parseIP before get AddressFamily#2433
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 <[email protected]>
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 <[email protected]>
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 <[email protected]> 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 <[email protected]> (cherry picked from commit bab58c1) Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> (cherry picked from commit bab58c19246bfaad9bbff8dd88f1b6a224b8dc22) Signed-off-by: Sebastiaan van Stijn <[email protected]> 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 <[email protected]> Signed-off-by: zach <[email protected]>
Signed-off-by: Tom Zhao [email protected]
Fix: #2431