aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/main.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/vlib/main.c b/src/vlib/main.c
index 917607067eb..58e88fccc4a 100644
--- a/src/vlib/main.c
+++ b/src/vlib/main.c
@@ -1468,12 +1468,13 @@ vlib_main_or_worker_loop (vlib_main_t * vm, int is_main)
}
/* Process pre-input nodes. */
- vec_foreach (n, nm->nodes_by_type[VLIB_NODE_TYPE_PRE_INPUT])
- cpu_time_now = dispatch_node (vm, n,
- VLIB_NODE_TYPE_PRE_INPUT,
- VLIB_NODE_STATE_POLLING,
- /* frame */ 0,
- cpu_time_now);
+ if (is_main)
+ vec_foreach (n, nm->nodes_by_type[VLIB_NODE_TYPE_PRE_INPUT])
+ cpu_time_now = dispatch_node (vm, n,
+ VLIB_NODE_TYPE_PRE_INPUT,
+ VLIB_NODE_STATE_POLLING,
+ /* frame */ 0,
+ cpu_time_now);
/* Next process input nodes. */
vec_foreach (n, nm->nodes_by_type[VLIB_NODE_TYPE_INPUT])
15da8fc34a28633bc2bddbafea0f9461'>diffstats
path: root/PyPI/jumpavg/setup.cfg
blob: b4abd1bd3011952fdfd07588503387d618f16672 (plain)
1
2
3
4
5
6
7
[metadata]
# This includes the license file in the wheel.
license_file = LICENSE.txt

[bdist_wheel]
# TODO: Make the code work both on Python 2 and 3.
universal=0