]> git.ipfire.org Git - thirdparty/lldpd.git/commit - src/lldpd.c
Fix hang issue in select() loop with SNMP.
authorVincent Bernat <bernat@luffy.cx>
Tue, 23 Mar 2010 14:32:29 +0000 (15:32 +0100)
committerVincent Bernat <bernat@luffy.cx>
Tue, 23 Mar 2010 14:33:32 +0000 (15:33 +0100)
commit630b4134e8ca84f205e12d8690182a216254f403
tree6a7659177835e71d35b09b2351f089ba8fe17379
parent0c877af0a363614c1f3a1c8760ac2a1f6570e6f5
Fix hang issue in select() loop with SNMP.

The last argument of snmp_select_info() should be set to 0 and should
be checked to be 0 after call. Otherwise, the timeval argument should
be ignored.
src/lldpd.c