summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_scanner.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-05 04:22:08 -0800
committerNeale Ranns <nranns@cisco.com>2019-03-05 13:51:32 +0000
commit32f6d8e0ca39483f706dc3a1c28223e9fe028f06 (patch)
tree4d36a736e12268ca5f4cb937260b3ac037e743c2 /src/plugins/gbp/gbp_scanner.c
parent0fce11f23d64eae2f374435b31a77b872d552298 (diff)
GBP: per-group EP retention policy
Change-Id: I3ed4e2e92f74f15b07fcd3e7fbc3fa8718d5249d Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp_scanner.c')
-rw-r--r--src/plugins/gbp/gbp_scanner.c7
1 files changed, 2 insertions, 5 deletions
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);
}