Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx committed Nov 21, 2020
1 parent 7fcfe33 commit 1dc064d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxy/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ func ReCreateTProxy(port int) error {

var err error
tproxyListener, err = redir.NewTProxy(addr)
if err != nil {
return err
}

tproxyUDPListener, err = redir.NewRedirUDPProxy(addr)
if err != nil {
log.Warnln("Failed to start TProxy UDP Listener: %s", err)
Expand Down

0 comments on commit 1dc064d

Please sign in to comment.