From: Thomas Veerman Date: Fri, 13 Jan 2012 16:48:46 +0000 (+0000) Subject: INET: initialize timer to not-in-use X-Git-Tag: v3.2.0~116 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=a282e942bf64856830575ac7382911fa81f9d708;p=minix.git INET: initialize timer to not-in-use --- diff --git a/servers/inet/generic/arp.c b/servers/inet/generic/arp.c index 2fa0ec8bf..7eec870bc 100644 --- a/servers/inet/generic/arp.c +++ b/servers/inet/generic/arp.c @@ -850,8 +850,11 @@ arp_func_t arp_func; arp_port->ap_sendpkt= NULL; arp_port->ap_sendlist= NULL; arp_port->ap_reclist= NULL; - for (i= 0; iap_req[i].ar_entry= -1; + arp_port->ap_req[i].ar_timer.tim_active= 0; + } + ev_init(&arp_port->ap_event); arp_main(arp_port);