From d6d2dcafd4c87f9c2d88130e41e099365d7e6152 Mon Sep 17 00:00:00 2001 From: Andrewmatilde Date: Mon, 13 Dec 2021 13:48:14 +0800 Subject: [PATCH] Make rand key of device name different. (#28) * bincode -> json Signed-off-by: andrewmatilde * fix lint Signed-off-by: andrewmatilde * add assign nte_env Signed-off-by: andrewmatilde * roll back rand changes Signed-off-by: andrewmatilde --- rs-tproxy-controller/src/proxy/exec.rs | 1 + 1 file changed, 1 insertion(+) 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();