diff --git a/forward.go b/forward.go index bf807b04..863795cf 100644 --- a/forward.go +++ b/forward.go @@ -100,6 +100,7 @@ func handleUdpForwardTunnel(laddr, raddr *net.UDPAddr, rChan, wChan chan *gosock } break } + defer tun.Close() glog.V(LINFO).Infof("[udp] %s <-> %s", laddr, raddr) diff --git a/main.go b/main.go index df628b79..5f6e9900 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ const ( ) const ( - Version = "2.1-dev" + Version = "2.1-rc1" ) var (