Skip to content

Commit

Permalink
re-export inetnum stuff and more pub
Browse files Browse the repository at this point in the history
  • Loading branch information
density215 committed Jun 12, 2024
1 parent bbc5fac commit 334843d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bgp/message/update_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ pub struct StandardCommunitiesList {
}

impl StandardCommunitiesList {
pub(crate) fn new() -> StandardCommunitiesList {
pub fn new() -> StandardCommunitiesList {
StandardCommunitiesList {
communities: Vec::new(),
len: 0,
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ pub mod bmp;
pub mod flowspec;

pub use octseq::Octets;
pub use inetnum::asn::Asn;
pub use inetnum::addr::Prefix;

//--- Private modules

Expand Down

0 comments on commit 334843d

Please # to comment.