mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Revert "Fixes bug that mistook gw6 for gw."
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
parent
b486c76cce
commit
3252a10845
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ func (epj *endpointJoinInfo) UnmarshalJSON(b []byte) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if v, ok := epMap["gw"]; ok {
|
if v, ok := epMap["gw"]; ok {
|
||||||
epj.gw = net.ParseIP(v.(string))
|
epj.gw6 = net.ParseIP(v.(string))
|
||||||
}
|
}
|
||||||
if v, ok := epMap["gw6"]; ok {
|
if v, ok := epMap["gw6"]; ok {
|
||||||
epj.gw6 = net.ParseIP(v.(string))
|
epj.gw6 = net.ParseIP(v.(string))
|
||||||
|
|
Loading…
Reference in a new issue