Merge pull request #138 from srid/handle-port-mapper-error
handle errors during the creation of port mapper
This commit is contained in:
commit
51455b1ee0
1 changed files with 3 additions and 0 deletions
|
@ -349,6 +349,9 @@ func newNetworkManager(bridgeIface string) (*NetworkManager, error) {
|
|||
}
|
||||
|
||||
portMapper, err := newPortMapper()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
manager := &NetworkManager{
|
||||
bridgeIface: bridgeIface,
|
||||
|
|
Loading…
Reference in a new issue