check_dhcp: Don't peek before reading response
commit99f5be29927de6863849441b8af4b794033cc8bd
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 14 Sep 2016 09:57:31 +0000 (14 11:57 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 14 Sep 2016 09:57:31 +0000 (14 11:57 +0200)
tree0839cf61bcb12022573af8e9a17b469c83440043
parent6fcf0fbbee1fb902bfebf8de00ac1981f11be70d
check_dhcp: Don't peek before reading response

Omit a recvfrom(3) call which has the MSG_PEEK flag set and should have
no effect at all.  According to a comment in the code, this call was
meant to be a workaround to an opaque issue.  If anyone runs into that
issue, we should fix it properly instead.
plugins-root/check_dhcp.c