Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 3eb0163f authored by Alexander Wuerstlein's avatar Alexander Wuerstlein Committed by Michael Bestas
Browse files

Ensure DHCP requests have nonempty hostnames

If the net.hostname property is empty or not found, Android issues
DHCP requests with an empty hostname field (option 12). RFC2132 section
3.14 prescribes a minimum length of 1 byte for the hostname.

To fix this, a generic 'android-dhcp' hostname is used as a fallback.

RM-290

Change-Id: I7a92e7295f72b3255e4fba6498fb4039906eb702
parent a8c95f6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment