summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5b8dabb)
It is convenient to be able to use common 1500 MTU TAP interfaces out of
box. They have 1500 bytes MTU + 14 bytes Ethernet header overhead. But
also we have got single padding byte.
Reported-by: alxkor <alxkor@protonmail.ch>
const (
TimeoutDefault = 60
EtherSize = 14
const (
TimeoutDefault = 60
EtherSize = 14
- MTUMax = 9000 + EtherSize
- MTUDefault = 1500 + EtherSize
+ MTUMax = 9000 + EtherSize + 1
+ MTUDefault = 1500 + EtherSize + 1