From 949c1551f884ef612dd7b3b741ad140f3207c8dd Mon Sep 17 00:00:00 2001 From: Meta Gowork Date: Thu, 28 Apr 2022 12:37:53 +0800 Subject: [PATCH] fixup! chore: system err log --- listener/tun/ipstack/system/mars/nat/nat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listener/tun/ipstack/system/mars/nat/nat.go b/listener/tun/ipstack/system/mars/nat/nat.go index b8b197c5..6b809bb2 100644 --- a/listener/tun/ipstack/system/mars/nat/nat.go +++ b/listener/tun/ipstack/system/mars/nat/nat.go @@ -45,7 +45,7 @@ func Start(device io.ReadWriter, gateway, portal, broadcast netip.Addr) (*TCP, * n, err := device.Read(buf) if err != nil { log.Warnln("system error:%s", err.Error()) - continue + return } raw := buf[:n]