Minor code simplification (don't store received pbuf, change conditional code to assert where applicable), check pbuf length before testing for valid reply

This commit is contained in:
goldsimon
2009-10-19 20:06:01 +00:00
parent a37e62b7d0
commit 67411c4299
3 changed files with 35 additions and 33 deletions

View File

@@ -43,6 +43,11 @@ HISTORY
++ Bugfixes:
2009-10-19: Simon Goldschmidt
* dhcp.c/.h: Minor code simplification (don't store received pbuf, change
conditional code to assert where applicable), check pbuf length before
testing for valid reply
2009-10-19: Simon Goldschmidt
* dhcp.c: Removed most calls to udp_connect since they aren't necessary
when using udp_sendto_if() - always stay connected to IP_ADDR_ANY.