fix dhcp
picked from http://review.cyanogenmod.org/#/c/32076/