mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
Unify MTU datatypes across the codebase
The codebase uses int and unit16 to represent MTU randomly. This change unifies it to a MTU type from types package, which is currently uint16.
This commit is contained in:
parent
4b16c325a3
commit
8358fe5c5c
13 changed files with 51 additions and 37 deletions
3
src/types/types.go
Normal file
3
src/types/types.go
Normal file
|
@ -0,0 +1,3 @@
|
|||
package types
|
||||
|
||||
type MTU uint16
|
Loading…
Add table
Add a link
Reference in a new issue