Skip to content

Commit

Permalink
fix connection close
Browse files Browse the repository at this point in the history
  • Loading branch information
rui.zheng committed Sep 15, 2016
1 parent 768f97b commit f7c8c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (
)

const (
Version = "2.1-dev"
Version = "2.1-rc1"
)

var (
Expand Down

0 comments on commit f7c8c40

Please sign in to comment.