summaryrefslogtreecommitdiff
path: root/lib/filter_cli.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-09-06 19:50:27 -0300
committerRenato Westphal <renato@opensourcerouting.org>2021-09-21 17:43:45 -0300
commit242a9767f7bf44b1ec8944ca880962c62d5264b2 (patch)
treea5ac6d74aad64962a33026f33cdbcf04aa7cf4b6 /lib/filter_cli.c
parente81192ad7c08d85f008c8a400157b69e5a42c2e4 (diff)
ospf6d: fix metric type of NSSA Type-7 LSAs
Fix wrong comparison since route->path.metric_type is always set to either 1 or 2. The OSPF6_PATH_TYPE_EXTERNAL2 constant, whose value is 4, refers to a route type so its usage was incorrect here. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/filter_cli.c')
0 files changed, 0 insertions, 0 deletions