mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
network: add auto-detection of optimal MTU for WireGuard interface, --wg-mtu flag, set max_mtu for Corrosion to 1232
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
//go:build darwin
|
||||
|
||||
package network
|
||||
|
||||
import "errors"
|
||||
|
||||
// detectEgressMTU is a stub for Darwin. The machine daemon that performs detection only runs on Linux.
|
||||
func detectEgressMTU() (int, error) {
|
||||
return 0, errors.New("not implemented on darwin")
|
||||
}
|
||||
Reference in New Issue
Block a user