mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-22 19:55:39 +00:00
gofmt
This commit is contained in:
parent
55ee8f1afa
commit
a367f2ca17
@ -28,9 +28,9 @@ type tunDevice struct {
|
||||
}
|
||||
|
||||
type tunDefaultParameters struct {
|
||||
maximumIfMTU int
|
||||
maximumIfMTU int
|
||||
defaultIfMTU int
|
||||
defaultIfName string
|
||||
defaultIfName string
|
||||
defaultIfTAPMode bool
|
||||
}
|
||||
|
||||
|
@ -29,10 +29,10 @@ func getDefaults() tunDefaultParameters {
|
||||
// different values
|
||||
|
||||
type tuninfo struct {
|
||||
tun_mtu uint16
|
||||
tun_type uint32
|
||||
tun_flags uint32
|
||||
tun_dummy uint16
|
||||
tun_mtu uint16
|
||||
tun_type uint32
|
||||
tun_flags uint32
|
||||
tun_dummy uint16
|
||||
}
|
||||
|
||||
const TUNSIFINFO = (0x80000000) | ((12 & 0x1fff) << 16) | uint32(byte('t'))<<8 | 91
|
||||
|
Loading…
Reference in New Issue
Block a user