15 march works with app
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
use crate::connections::dns::handle_dns_query;
|
||||
use crate::connections::ip_store::FakeIpStore;
|
||||
use smoltcp::socket::udp;
|
||||
use tracing::{debug, trace};
|
||||
|
||||
pub struct UdpConnection;
|
||||
|
||||
@@ -16,7 +15,7 @@ impl UdpConnection {
|
||||
let endpoint = metadata.endpoint;
|
||||
|
||||
if let Some(response) = handle_dns_query(&data, store) {
|
||||
debug!(to = %endpoint, "Sending DNS response");
|
||||
netrunner_logger::debug!(to = %endpoint, "Sending DNS response");
|
||||
let _ = socket.send_slice(&response, metadata);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user