mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Update default interface MTU to use per-platform instead of global value
This commit is contained in:
parent
4917ea3dd2
commit
4e5627f933
6 changed files with 5 additions and 7 deletions
|
@ -5,8 +5,6 @@ package yggdrasil
|
|||
import "os"
|
||||
import ethernet "github.com/songgao/packets/ethernet"
|
||||
|
||||
const DEFAULT_MTU = 65535
|
||||
|
||||
const IPv6_HEADER_LENGTH = 40
|
||||
const ETHER_HEADER_LENGTH = 14
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue