mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
commit
38f5d5c634
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ func (sb *sandbox) needDefaultGW() bool {
|
|||
return false
|
||||
}
|
||||
for _, r := range ep.StaticRoutes() {
|
||||
if r.Destination.String() == "0.0.0.0/0" {
|
||||
if r.Destination != nil && r.Destination.String() == "0.0.0.0/0" {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue