Revert "Fixes bug that mistook gw6 for gw."

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
Flavio Crisciani 2017-08-01 17:12:49 -07:00
parent e85aeedbc6
commit 815171dcf9
No known key found for this signature in database
GPG Key ID: 28CAFCE754CF3A48
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ func (epj *endpointJoinInfo) UnmarshalJSON(b []byte) error {
return err
}
if v, ok := epMap["gw"]; ok {
epj.gw = net.ParseIP(v.(string))
epj.gw6 = net.ParseIP(v.(string))
}
if v, ok := epMap["gw6"]; ok {
epj.gw6 = net.ParseIP(v.(string))