Merge pull request #1234 from mrjana/overlay

Fix panic if miss notification sock is nil
This commit is contained in:
Alessandro Boch 2016-06-09 17:08:11 -07:00 committed by GitHub
commit bc147ce99d
1 changed files with 4 additions and 1 deletions

View File

@ -510,7 +510,10 @@ func (n *network) initSandbox() error {
}
})
go n.watchMiss(nlSock)
if nlSock != nil {
go n.watchMiss(nlSock)
}
return nil
}