diff --git a/src/route/builder.rs b/src/route/builder.rs index 4e45436..233a5b2 100644 --- a/src/route/builder.rs +++ b/src/route/builder.rs @@ -582,6 +582,12 @@ impl RouteNextHopBuilder { self } + /// Set flags for next hop + pub fn flags(mut self, flags: RouteNextHopFlags) -> Self { + self.nexthop.flags = flags; + self + } + pub fn build(self) -> RouteNextHop { self.nexthop }