Fix up fwmark handling

This commit is contained in:
Jason A. Donenfeld
2017-09-21 03:09:57 +02:00
parent 47a21c8bb0
commit c545d63bb9
4 changed files with 30 additions and 20 deletions

View File

@@ -24,7 +24,7 @@ type Device struct {
mutex sync.RWMutex
addr *net.UDPAddr // UDP source address
conn *net.UDPConn // UDP "connection"
fwmark int
fwmark uint32
}
mutex sync.RWMutex
privateKey NoisePrivateKey