mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-02 09:09:17 +00:00
format
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
use hickory_proto::rr::Record;
|
||||
use hickory_proto::serialize::binary::BinEncoder;
|
||||
use hickory_server::authority::MessageResponse;
|
||||
use hickory_server::server::{ResponseHandler, ResponseInfo};
|
||||
use parking_lot::Mutex;
|
||||
use std::io;
|
||||
use std::sync::Arc;
|
||||
use hickory_proto::rr::Record;
|
||||
use parking_lot::Mutex;
|
||||
use hickory_server::server::{ResponseHandler, ResponseInfo};
|
||||
use hickory_server::authority::MessageResponse;
|
||||
use hickory_proto::serialize::binary::BinEncoder;
|
||||
|
||||
// ResponseWrapper for serializing DNS responses into a byte buffer.
|
||||
// Used by the address hijacking NIC packet filter to produce DNS replies in-place.
|
||||
@@ -55,4 +55,4 @@ impl ResponseHandler for ResponseHandle {
|
||||
.destructive_emit(&mut encoder)
|
||||
.map_err(io::Error::other)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user