Skip to content

Commit

Permalink
route: Add RouteHeader::RT_TABLE_UNSPEC constant
Browse files Browse the repository at this point in the history
Signed-off-by: Gris Ge <[email protected]>
  • Loading branch information
cathay4t committed Dec 5, 2023
1 parent e7ce870 commit 75a038a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/route/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub struct RouteHeader {

impl RouteHeader {
pub const RT_TABLE_MAIN: u8 = 254;
pub const RT_TABLE_UNSPEC: u8 = 0;
}

impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<RouteMessageBuffer<&'a T>>
Expand Down

0 comments on commit 75a038a

Please sign in to comment.