Skip to content

Commit 334843d

Browse files
committed
re-export inetnum stuff and more pub
1 parent bbc5fac commit 334843d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/bgp/message/update_builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ pub struct StandardCommunitiesList {
12091209
}
12101210

12111211
impl StandardCommunitiesList {
1212-
pub(crate) fn new() -> StandardCommunitiesList {
1212+
pub fn new() -> StandardCommunitiesList {
12131213
StandardCommunitiesList {
12141214
communities: Vec::new(),
12151215
len: 0,

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ pub mod bmp;
1010
pub mod flowspec;
1111

1212
pub use octseq::Octets;
13+
pub use inetnum::asn::Asn;
14+
pub use inetnum::addr::Prefix;
1315

1416
//--- Private modules
1517

0 commit comments

Comments
 (0)