fib: fix ADJ_NBR_ITF_OK param error

Type: fix
Signed-off-by: yedonggang <yedg@wangsu.com>
Change-Id: I3bf67070ed01df40626f3b90f2762158b6c3ce05
This commit is contained in:
yedg
2020-08-29 14:12:20 +08:00
committed by Neale Ranns
parent ea7178631e
commit f6698d2674

View File

@ -39,7 +39,7 @@ typedef struct adj_nbr_key_t_
#define ADJ_NBR_ITF_OK(_proto, _itf) \
(((_itf) < vec_len(adj_nbr_tables[_proto])) && \
(NULL != adj_nbr_tables[_proto][sw_if_index]))
(NULL != adj_nbr_tables[_proto][(_itf)]))
#define ADJ_NBR_ASSERT_NH_PROTO(nh_proto, err) \
do { \