Fixed transport header problem

This commit is contained in:
Mathias Hall-Andersen
2017-07-02 15:28:38 +02:00
parent 1e620427bd
commit 2aa0daf4d5
5 changed files with 32 additions and 20 deletions

View File

@@ -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
}