Fixed transport header problem
This commit is contained in:
parent
1e620427bd
commit
2aa0daf4d5
5 changed files with 32 additions and 20 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
type DummyTUN struct {
|
||||
name string
|
||||
mtu uint
|
||||
mtu int
|
||||
packets chan []byte
|
||||
}
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ func (tun *DummyTUN) Name() string {
|
|||
return tun.name
|
||||
}
|
||||
|
||||
func (tun *DummyTUN) MTU() uint {
|
||||
func (tun *DummyTUN) MTU() int {
|
||||
return tun.mtu
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue