]> git.bitcoin.ninja Git - dnsseed-rust/commitdiff
Clean up print format
authorMatt Corallo <git@bluematt.me>
Mon, 2 Dec 2019 19:11:17 +0000 (14:11 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 2 Dec 2019 19:11:17 +0000 (14:11 -0500)
src/reader.rs

index fc4df12e4fd31673f51bfe315e9f436214bf71e8..32bb812e72d127d40a119dc9f825f74f339d09b7 100644 (file)
@@ -122,7 +122,7 @@ pub fn read(store: &'static Store, printer: &'static Printer, bgp_client: Arc<BG
                        },
                        "b" => {
                                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)) {