diff options
author | Alexander Skorichenko <askorichenko@netgate.com> | 2022-11-14 11:59:56 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2022-11-23 00:33:24 +0000 |
commit | f0781829d5145f288a2e42978d91bc8df9c50ca4 (patch) | |
tree | 77988b78f6309f1df0910d687f5ea8cfaa79b5b0 /extras/snap | |
parent | ed5f291a2283dd2882a39a3019e82fd325079631 (diff) |
linux-cp: fix FIB_ENTRY_FLAG_ATTACHED
Type: fix
Fib entries for attached routes when sourced from
FIB_SOURCE_API or FIB_SOURCE_CLI
get the FIB_ENTRY_FLAG_ATTACHED flag raised on the source.
Such a route added from linux-cp doesn't get this flag.
Fix this flag for linux-cp sources by passing it to the
fib entry's update/create function in lcp_router_route_add().
Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Change-Id: I24278ef86886cfee8a14acb250fb6992a754cc3c
Diffstat (limited to 'extras/snap')
0 files changed, 0 insertions, 0 deletions