removed redundant logs

This commit is contained in:
Ishan Jain 2023-12-12 05:11:59 +05:30
parent 9cf1ade76a
commit ee9f36efa8
Signed by: ishan
GPG Key ID: 0506DB2A1CC75C27

View File

@ -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())