From 80c6a472f096a8c7c32cf460698c1c2d4eda7c8e Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 30 Aug 2022 12:06:19 +0300 Subject: [PATCH] bgpd: Fix test for matching UN prefix and the peer Signed-off-by: Donatas Abraitis --- bgpd/rfapi/rfapi_import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/rfapi/rfapi_import.c b/bgpd/rfapi/rfapi_import.c index 6fb509fd9c..be64153cef 100644 --- a/bgpd/rfapi/rfapi_import.c +++ b/bgpd/rfapi/rfapi_import.c @@ -3750,7 +3750,7 @@ void rfapiBgpInfoFilteredImportVPN( remote_peer_match = 1; } - if (!un_match & !remote_peer_match) + if (!un_match && !remote_peer_match) continue; vnc_zlog_debug_verbose(