summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-02-03 23:08:06 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2021-02-03 23:08:06 +0100
commit238006b0d9ec39cc7d96f5161e6b789c81923e6b (patch)
tree1fbc9a2138da8346440bf86c06d99e0cebb99980
parent07a9e33d76ab6389243f7f860fb7d7ab10aa8b1a (diff)
WIP: fix var
-rw-r--r--tun/netstack/tun.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/netstack/tun.go b/tun/netstack/tun.go
index dc7c142..d943067 100644
--- a/tun/netstack/tun.go
+++ b/tun/netstack/tun.go
@@ -185,7 +185,7 @@ func convertToFullAddr(ip net.IP, port int, zone string) (tcpip.FullAddress, tcp
var nic tcpip.NICID = 0
if zone != "" {
- zoneId, _ = strconv.Atoi(zone)
+ zoneId, _ := strconv.Atoi(zone)
nic = tcpip.NICID(zoneId)
}