mirror of
https://github.com/docker/docs.git
synced 2026-04-02 17:28:55 +07:00
@@ -956,7 +956,7 @@ func getDefaultRouteMtu() (int, error) {
|
||||
return 0, err
|
||||
}
|
||||
for _, r := range routes {
|
||||
if r.Default {
|
||||
if r.Default && r.Iface != nil {
|
||||
return r.Iface.MTU, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user