1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

fix err in note at daemon/networkdriver/bridge/driver.go

Signed-off-by: Zen Lin(Zhinan Lin) <linzhinan@huawei.com>
This commit is contained in:
Zen Lin(Zhinan Lin) 2015-03-03 00:52:53 +08:00
parent 89db94ecf9
commit e5bc50b5cd

View file

@ -113,7 +113,7 @@ func InitDriver(job *engine.Job) engine.Status {
addrv4, addrsv6, err := networkdriver.GetIfaceAddr(bridgeIface)
if err != nil {
// No Bridge existent. Create one
// No Bridge existent, create one
// If we're not using the default bridge, fail without trying to create it
if !usingDefaultBridge {
return job.Error(err)
@ -137,7 +137,7 @@ func InitDriver(job *engine.Job) engine.Status {
}
}
} else {
// Bridge exists already. Getting info...
// Bridge exists already, getting info...
// validate that the bridge ip matches the ip specified by BridgeIP
if bridgeIP != "" {
networkv4 = addrv4.(*net.IPNet)