diff --git a/rs-tproxy-controller/src/proxy/exec.rs b/rs-tproxy-controller/src/proxy/exec.rs index 3f67224..2f12ae3 100644 --- a/rs-tproxy-controller/src/proxy/exec.rs +++ b/rs-tproxy-controller/src/proxy/exec.rs @@ -148,6 +148,7 @@ impl Proxy { } if self.task.is_none() { let mut new = Self::new(self.opt.verbose); + self.net_env = new.net_env; self.opt = new.opt; self.sender = new.sender.take(); self.rx = new.rx.take();