fib: fix fib_path_create() with drop targets 43/40043/2
authorAlexander Skorichenko <askorichenko@netgate.com>
Fri, 24 Nov 2023 08:59:42 +0000 (09:59 +0100)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 1 Dec 2023 19:30:02 +0000 (19:30 +0000)
commit6b287b53011208bc242040962056360c1ff54a6c
tree849bd2fb9431285e7839cc2134436a02b69fed1c
parentf9c322be7da6a23c467526f5323a3fcdcc9aad86
fib: fix fib_path_create() with drop targets

Properly set type
path->fp_type = FIB_PATH_TYPE_SPECIAL
for paths with (path->fp_cfg_flags & FIB_PATH_CFG_FLAG_DROP)

Type: fix

Change-Id: Id61dbcda781d872b878e6a6410c05b840795ed46
Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
(cherry picked from commit 4b08632748727486e7ebfdcf4d992743595bc500)
src/vnet/fib/fib_path.c