mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-26 18:17:24 +00:00
committed by
David Calavera
parent
6ec8d40ae7
commit
e07819293a
+1
-1
@@ -979,7 +979,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