summaryrefslogtreecommitdiffhomepage
path: root/tun
diff options
context:
space:
mode:
Diffstat (limited to 'tun')
-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 a53444c..d24274d 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)
}