From: Matt Corallo Date: Mon, 2 Dec 2019 19:11:17 +0000 (-0500) Subject: Clean up print format X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=85cbeb34b69c8f3dc283b3963c98fd509c067fbf;p=dnsseed-rust Clean up print format --- diff --git a/src/reader.rs b/src/reader.rs index fc4df12..32bb812 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -122,7 +122,7 @@ pub fn read(store: &'static Store, printer: &'static Printer, bgp_client: Arc { let ip = try_parse_next_chunk!(IpAddr); - printer.add_line(format!("ASN for {} is {} ({:?})", ip, bgp_client.get_asn(ip), bgp_client.get_path(ip)), false); + printer.add_line(format!("ASN for {} is {} (prefixlen, path: {:?})", ip, bgp_client.get_asn(ip), bgp_client.get_path(ip)), false); }, "r" => { match AddressState::from_num(try_parse_next_chunk!(u8)) {