fix test
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
193a41ed9c
commit
0ec619f661
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ func ParseMiscArgs(args []string, opts *util.Options) error {
|
|||
opts.Logger.Info("DNSCrypt implicitly set")
|
||||
case strings.HasPrefix(arg, "tcp://"):
|
||||
opts.TCP = true
|
||||
opts.Request.Server = strings.TrimPrefix(arg, "udp://")
|
||||
opts.Request.Server = strings.TrimPrefix(arg, "tcp://")
|
||||
opts.Logger.Info("TCP implicitly set")
|
||||
case strings.HasPrefix(arg, "udp://"):
|
||||
opts.Request.Server = strings.TrimPrefix(arg, "udp://")
|
||||
|
|
Loading…
Reference in a new issue