Skip to content

Commit

Permalink
bgp/route: Binary Representation -> Hex ...
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric committed Jan 2, 2025
1 parent d250a5f commit d002fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bgp/route.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl Routes {
println!("{FG_GREEN_BOLD}Flowspec{RESET} {spec}");
if verbosity >= Level::Debug {
println!(" {BOLD}Kernel Rule ID:{RESET} {index}");
print!(" {BOLD}Binary Representation:{RESET} ");
print!(" {BOLD}Hex Representation:{RESET} ");
let mut buf = Vec::new();
spec.write(&mut buf);
println!("{:02x}", buf.iter().format(""));
Expand Down

0 comments on commit d002fa1

Please sign in to comment.