Merge pull request #618 from mavenugo/vin-fixes
Fixed a bridge driver bug in unmarshalling DefaultBridge
This commit is contained in:
commit
a21ba576e1
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ func (ncfg *networkConfiguration) UnmarshalJSON(b []byte) error {
|
|||
}
|
||||
}
|
||||
|
||||
ncfg.DefaultBridge = nMap["DefaultBridge"].(bool)
|
||||
ncfg.DefaultBindingIP = net.ParseIP(nMap["DefaultBindingIP"].(string))
|
||||
ncfg.DefaultGatewayIPv4 = net.ParseIP(nMap["DefaultGatewayIPv4"].(string))
|
||||
ncfg.DefaultGatewayIPv6 = net.ParseIP(nMap["DefaultGatewayIPv6"].(string))
|
||||
|
|
Loading…
Add table
Reference in a new issue