Skip to content

Commit

Permalink
chore: ams debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyc committed Jun 13, 2023
1 parent d53a9ec commit 72ff0f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ where

// parse result
let ams_header = parse_ams_packet_slice(&buffer)?.1;
log::debug!("ams packet: {}", ams_header);
let source_ams_addr = AmsAddr(ams_header.source_net_id(), ams_header.source_port());
let target_ams_addr = AmsAddr(ams_header.target_net_id(), ams_header.target_port());

Expand Down

0 comments on commit 72ff0f2

Please sign in to comment.