From ee9f36efa86bc40fdd672948dd6765298ff815e7 Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Tue, 12 Dec 2023 05:11:59 +0530 Subject: [PATCH] removed redundant logs --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 324e508..66369a3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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())