X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fgbp%2Fgbp_scanner.c;h=9ae962b74497f30473abb3dab9b27311d07be432;hb=59f71132e;hp=90507a60568708212dd6db4b0b47b7a06eaf8f7f;hpb=b6a47953973f7c94239c394b649100e91bdb2152;p=vpp.git diff --git a/src/plugins/gbp/gbp_scanner.c b/src/plugins/gbp/gbp_scanner.c index 90507a60568..9ae962b7449 100644 --- a/src/plugins/gbp/gbp_scanner.c +++ b/src/plugins/gbp/gbp_scanner.c @@ -45,9 +45,7 @@ gbp_scanner (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f) if (gs_enabled) { /* scan every 'inactive threshold' seconds */ - vlib_process_wait_for_event_or_clock (vm, - gbp_endpoint_scan_threshold - ()); + vlib_process_wait_for_event_or_clock (vm, 2); } else vlib_process_wait_for_event (vm); @@ -99,8 +97,7 @@ static clib_error_t * gbp_scanner_cli (vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd) { - vlib_cli_output (vm, "GBP-scanner: enabled:%d interval:%f", - gs_enabled, gbp_endpoint_scan_threshold ()); + vlib_cli_output (vm, "GBP-scanner: enabled:%d interval:2", gs_enabled); return (NULL); }