mirror of https://github.com/docker/cli.git
Fix inspect network show gateway with mask
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
e15ee6cec4
commit
ac5ac973aa
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue