mirror of
https://github.com/dndx/phantun.git
synced 2025-09-15 19:54:29 +08:00
feat(*) add DNS name support for --remote
argument in both Client and
Server
This commit is contained in:
@@ -396,11 +396,10 @@ impl Stack {
|
||||
|
||||
} else {
|
||||
trace!("Cache miss, checking the shared tuples table for connection");
|
||||
let sender;
|
||||
{
|
||||
let sender = {
|
||||
let tuples = shared.tuples.read().unwrap();
|
||||
sender = tuples.get(&tuple).cloned();
|
||||
}
|
||||
tuples.get(&tuple).cloned()
|
||||
};
|
||||
|
||||
if let Some(c) = sender {
|
||||
trace!("Storing connection information into local tuples");
|
||||
|
Reference in New Issue
Block a user