aboutsummaryrefslogtreecommitdiff
path: root/src/device.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.go')
-rw-r--r--src/device.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/device.go b/src/device.go
index 2a0d0ca..2ead768 100644
--- a/src/device.go
+++ b/src/device.go
@@ -21,9 +21,10 @@ type Device struct {
messageBuffers sync.Pool
}
net struct {
- mutex sync.RWMutex
- addr *net.UDPAddr // UDP source address
- conn *net.UDPConn // UDP "connection"
+ mutex sync.RWMutex
+ addr *net.UDPAddr // UDP source address
+ conn *net.UDPConn // UDP "connection"
+ fwmark int
}
mutex sync.RWMutex
privateKey NoisePrivateKey