Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/route/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ impl<T> RouteMessageBuilder<T> {
self
}

#[cfg(not(target_os = "android"))]
/// Sets mark value on route.
pub fn mark(mut self, mark: u32) -> Self {
self.message.attributes.push(RouteAttribute::Mark(mark));
self
}

/// Sets the route protocol.
///
/// Default is static route protocol.
Expand Down