diff --git a/src/route/builder.rs b/src/route/builder.rs index 233a5b2..9a97734 100644 --- a/src/route/builder.rs +++ b/src/route/builder.rs @@ -115,6 +115,13 @@ impl RouteMessageBuilder { 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.