Skip to content

Commit

Permalink
Make rand key of device name different. (#28)
Browse files Browse the repository at this point in the history
* bincode -> json

Signed-off-by: andrewmatilde <[email protected]>

* fix lint

Signed-off-by: andrewmatilde <[email protected]>

* add assign nte_env

Signed-off-by: andrewmatilde <[email protected]>

* roll back rand changes

Signed-off-by: andrewmatilde <[email protected]>
  • Loading branch information
Andrewmatilde authored Dec 13, 2021
1 parent 1e7ab42 commit d6d2dca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rs-tproxy-controller/src/proxy/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d6d2dca

Please sign in to comment.