Handshake negotiation functioning

This commit is contained in:
Mathias Hall-Andersen
2017-07-01 23:29:22 +02:00
parent a4cc0a30fa
commit 1e620427bd
10 changed files with 512 additions and 82 deletions

View File

@@ -24,14 +24,14 @@ const (
type NativeTun struct {
fd *os.File
name string
mtu uint
mtu int
}
func (tun *NativeTun) Name() string {
return tun.name
}
func (tun *NativeTun) MTU() uint {
func (tun *NativeTun) MTU() int {
return tun.mtu
}