From b44f86a625b18538f3b7e731456ffa222d5afbae Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 3 Jan 2017 07:17:52 +0100 Subject: [PATCH] Attempt to decrease the time interval between two pollings of the network adapter to 1/10 of what it was. --- src/nethandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nethandler.c b/src/nethandler.c index c1ffafa67..0c294c8d9 100644 --- a/src/nethandler.c +++ b/src/nethandler.c @@ -87,7 +87,7 @@ void vlan_poller(void *priv) { int c; - vlan_poller_time += (int)((double)TIMER_USEC * (1000000.0 / 8.0 / 1500.0)); + vlan_poller_time += (int)((double)TIMER_USEC * (1000000.0 / 8.0 / 15000.0)); for (c = 0; c < vlan_handlers_num; c++) vlan_handlers[c].poller(vlan_handlers[c].priv);