From 238006b0d9ec39cc7d96f5161e6b789c81923e6b Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 3 Feb 2021 23:08:06 +0100 Subject: WIP: fix var --- tun/netstack/tun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tun') 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) } -- cgit v1.2.3