Skip to content

Commit

Permalink
ok, impl Default
Browse files Browse the repository at this point in the history
  • Loading branch information
density215 committed Jun 24, 2024
1 parent 17cb8f7 commit 870230c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/bgp/message/update_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1244,10 +1244,15 @@ impl StandardCommunitiesList {
self.len += 4;
self.communities.push(community);
}

// TODO fn add_community_from_iter()
}

impl Default for StandardCommunitiesList {
fn default() -> Self {
Self::new()
}
}

//------------ Errors --------------------------------------------------------

#[derive(Debug)]
Expand Down

0 comments on commit 870230c

Please # to comment.