commit
38f5d5c634
|
@ -123,7 +123,7 @@ func (sb *sandbox) needDefaultGW() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
for _, r := range ep.StaticRoutes() {
|
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
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue