Fix: error var name

This commit is contained in:
yaling888 2021-07-27 02:38:41 +08:00
parent 96e5a52651
commit 09299e5e5a

View file

@ -175,7 +175,7 @@ func CreateDNSServer(s *stack.Stack, resolver *dns.Resolver, mapper *dns.Resolve
*id,
endpoint,
ports.Flags{LoadBalanced: true}, // it's actually the SO_REUSEPORT. Not sure it take effect.
nicID); err != nil {
nicID); tcpiperr != nil {
log.Errorln("Unable to start UDP DNS on tun: %v", tcpiperr.String())
}