diff options
Diffstat (limited to 'bgpd/rfapi/rfapi_import.c')
| -rw-r--r-- | bgpd/rfapi/rfapi_import.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bgpd/rfapi/rfapi_import.c b/bgpd/rfapi/rfapi_import.c index e6da79fafb..4b8e07a9c4 100644 --- a/bgpd/rfapi/rfapi_import.c +++ b/bgpd/rfapi/rfapi_import.c @@ -127,7 +127,6 @@ void rfapiCheckRouteCount(void) struct agg_node *rn; int holddown_count = 0; - int local_count = 0; int imported_count = 0; int remote_count = 0; @@ -146,9 +145,7 @@ void rfapiCheckRouteCount(void) ++holddown_count; } else { - if (RFAPI_LOCAL_BI(bpi)) { - ++local_count; - } else { + if (!RFAPI_LOCAL_BI(bpi)) { if (RFAPI_DIRECT_IMPORT_BI( bpi)) { ++imported_count; |
