From 5026d889b925e25dcb33a470ea3f736a06e6b136 Mon Sep 17 00:00:00 2001 From: SisMaker <1713699517@qq.com> Date: Wed, 19 Jan 2022 17:55:58 +0800 Subject: [PATCH] =?UTF-8?q?ft:=20=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/udp/ntUdpSrv.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udp/ntUdpSrv.erl b/src/udp/ntUdpSrv.erl index 37e75c7..0535fd3 100644 --- a/src/udp/ntUdpSrv.erl +++ b/src/udp/ntUdpSrv.erl @@ -153,7 +153,7 @@ handleMsg({udp, Sock, IP, InPortNo, Packet}, #state{oSock = Sock, conMod = ConMo kpS end end; -handleMsg({udp_passive, Sock}, #state{oSock = Sock} = State) -> +handleMsg({udp_passive, Sock}, #state{oSock = Sock} = _State) -> inet:setopts(Sock, [{active, 100}]), kpS;