Skip to content

Commit

Permalink
forwarder: set to disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nadoo committed Dec 19, 2018
1 parent 6ba9e1f commit d5a9d68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxy/forwarder.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func ForwarderFromURL(s, intface string) (f *Forwarder, err error) {
f.Dialer = d
f.addr = d.Addr()

// set forwarder to disabled by default
// TODO: check here
f.Disable()

return f, err
}

Expand Down

0 comments on commit d5a9d68

Please sign in to comment.