aboutsummaryrefslogtreecommitdiff
path: root/src/device.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-21 03:09:57 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-21 03:10:03 +0200
commitc545d63bb93b8192dfdc7037952fc2661dd1222b (patch)
tree02313ddc69501e8cbcb7e0fe562e3bd7efdd9126 /src/device.go
parent47a21c8bb08c84d5f84e66ffd3b81ded957dda6d (diff)
downloadwireguard-go-c545d63bb93b8192dfdc7037952fc2661dd1222b.tar.gz
wireguard-go-c545d63bb93b8192dfdc7037952fc2661dd1222b.zip
Fix up fwmark handling
Diffstat (limited to 'src/device.go')
-rw-r--r--src/device.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.go b/src/device.go
index 2ead768..61c87bc 100644
--- a/src/device.go
+++ b/src/device.go
@@ -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