mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 03:53:33 +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:
@@ -9,7 +9,9 @@ import (
|
||||
)
|
||||
|
||||
// EnsureUncloudNetwork is a stub for Darwin.
|
||||
func (c *Controller) EnsureUncloudNetwork(ctx context.Context, subnet netip.Prefix, dnsServer netip.Addr) error {
|
||||
func (c *Controller) EnsureUncloudNetwork(
|
||||
ctx context.Context, subnet netip.Prefix, mtu int, dnsServer netip.Addr,
|
||||
) error {
|
||||
return fmt.Errorf("not supported on Darwin")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user