Skip to content

Commit

Permalink
Fix From<PathAttributes> for OwnedPathAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
DRiKE committed Oct 23, 2024
1 parent 831e495 commit 3de424f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bgp/path_attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ where
fn from(value: PathAttributes<'a, O>) -> Self {
OwnedPathAttributes {
ppi: value.pdu_parse_info,
raw: value.parser.as_slice().to_owned()
raw: value.parser.peek_all().to_owned()
}
}
}
Expand Down

0 comments on commit 3de424f

Please sign in to comment.