X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Freader.rs;h=32bb812e72d127d40a119dc9f825f74f339d09b7;hb=f44ddf483a9e7f8cc136f6ac64de3e135429fd59;hp=0098ef4e7d2c2c69326293a5624060787239cc65;hpb=588be32d9817a67933417836c870d30d3aaf3448;p=dnsseed-rust diff --git a/src/reader.rs b/src/reader.rs index 0098ef4..32bb812 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -91,7 +91,6 @@ pub fn read(store: &'static Store, printer: &'static Printer, bgp_client: Arc store.set_u64(U64Setting::ConnsPerSec, try_parse_next_chunk!(u64)), "t" => store.set_u64(U64Setting::RunTimeout, try_parse_next_chunk!(u64)), "v" => store.set_u64(U64Setting::MinProtocolVersion, try_parse_next_chunk!(u64)), "w" => store.set_u64(U64Setting::WasGoodTimeout, try_parse_next_chunk!(u64)), @@ -123,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)), 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)) {