Restructured MAC/cookie calculation

Added copy-right headers accidentally removed
This commit is contained in:
Mathias Hall-Andersen
2017-07-12 23:11:49 +02:00
parent 86707cbc88
commit 8393cbff52
7 changed files with 374 additions and 96 deletions

View File

@@ -18,8 +18,8 @@ func (tun *DummyTUN) Name() string {
return tun.name
}
func (tun *DummyTUN) MTU() int {
return tun.mtu
func (tun *DummyTUN) MTU() (int, error) {
return tun.mtu, nil
}
func (tun *DummyTUN) Write(d []byte) (int, error) {