CHROMIUMOS: dhcp: Remove errant extra ref

In the utility function get_option, a buffer is allocated and returned
if there is more than one instance of the desired option in the dhcp
message.  Unfortunately this code has never worked (fixed somewhere
upstream).  It used to return the address of the buf pointer instead of
the buffer itself.  This solves issues with DHCP servers with surprising
(but perhaps valid) duplicate messages in their response.

BUG=n0ne
TEST=Aruba RAP-5WN

Change-Id: Iaa648cc2b602c670d2c331edd64374ccbe4d0bde

R=sleffler@chromium.org

Review URL: http://codereview.chromium.org/6738002
1 file changed