diff options
Diffstat (limited to 'src/plugins/gbp/gbp_endpoint.c')
-rw-r--r-- | src/plugins/gbp/gbp_endpoint.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/gbp/gbp_endpoint.c b/src/plugins/gbp/gbp_endpoint.c index 90eca41ae66..12865461d18 100644 --- a/src/plugins/gbp/gbp_endpoint.c +++ b/src/plugins/gbp/gbp_endpoint.c @@ -1385,6 +1385,9 @@ gbp_endpoint_scan_l2 (vlib_main_t * vm) f64 last_start, start_time, delta_t; int i, j, k; + if (!gte_table->instantiated) + return; + delta_t = 0; last_start = start_time = vlib_time_now (vm); @@ -1437,6 +1440,9 @@ gbp_endpoint_scan_l3 (vlib_main_t * vm) f64 last_start, start_time, delta_t; int i, j, k; + if (!gte_table->instantiated) + return; + delta_t = 0; last_start = start_time = vlib_time_now (vm); |