removed redundant logs
This commit is contained in:
parent
9cf1ade76a
commit
ee9f36efa8
|
@ -31,13 +31,9 @@ fn main() {
|
|||
packet.header.qd_count = 1;
|
||||
packet.questions = vec![question.clone()];
|
||||
|
||||
println!("sent packet: {:?}", packet);
|
||||
|
||||
let mut data = vec![];
|
||||
packet.write_to(&mut data);
|
||||
|
||||
println!("written packet: {:?}", data);
|
||||
|
||||
upstream_socket
|
||||
.send_to(&data, resolver)
|
||||
.expect("error in sending data to upstream");
|
||||
|
@ -71,7 +67,6 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
println!("{:?}", upstream_packets);
|
||||
recv_packet.answers = upstream_packets
|
||||
.into_iter()
|
||||
.filter(|x| x.is_some())
|
||||
|
|
Loading…
Reference in New Issue
Block a user