fib: fix fib_path_create() with drop targets 01/40001/2
authorAlexander Skorichenko <askorichenko@netgate.com>
Fri, 24 Nov 2023 08:59:42 +0000 (09:59 +0100)
committerNeale Ranns <neale@graphiant.com>
Mon, 27 Nov 2023 22:07:43 +0000 (22:07 +0000)
commit4b08632748727486e7ebfdcf4d992743595bc500
tree4f286d885cd2761940347924fb1d0c6f7740b754
parent176cff55b17764d4645867b7b663c2ad0478ee19
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>
src/vnet/fib/fib_path.c