TUN_OFFSET_BYTES per platform

This commit is contained in:
Neil Alexander 2019-11-24 21:03:02 +00:00
parent f6f9b3ef76
commit 85c5bc61ac
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
6 changed files with 11 additions and 3 deletions

View file

@ -9,8 +9,6 @@ import (
"github.com/Arceliar/phony"
)
const TUN_OFFSET_BYTES = 4
type tunWriter struct {
phony.Inbox
tun *TunAdapter