Fix inspect network show gateway with mask

Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
Lei Jitang 2016-08-11 21:08:54 -04:00 committed by Tibor Vass
parent e15ee6cec4
commit ac5ac973aa
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ $ docker network inspect simple-network
"Config": [ "Config": [
{ {
"Subnet": "172.22.0.0/16", "Subnet": "172.22.0.0/16",
"Gateway": "172.22.0.1/16" "Gateway": "172.22.0.1"
} }
] ]
}, },

View File

@ -91,7 +91,7 @@ $ docker network inspect simple-network
"Config": [ "Config": [
{ {
"Subnet": "172.22.0.0/16", "Subnet": "172.22.0.0/16",
"Gateway": "172.22.0.1/16" "Gateway": "172.22.0.1"
} }
] ]
}, },