diff options
author | Alexander Wuerstlein <arw@arw.name> | 2016-08-29 15:41:10 +0200 |
---|---|---|
committer | Alexander Wuerstlein <arw@arw.name> | 2016-08-31 21:06:32 +0200 |
commit | 61da29a98bedac7732cb03c3008d0047de6574f9 (patch) | |
tree | d650b3cd0293c452e60c369f073a55a33034127c /tools | |
parent | 5587ea46dab171fd43716aaaf5344ff87c032582 (diff) | |
download | frameworks_base-61da29a98bedac7732cb03c3008d0047de6574f9.zip frameworks_base-61da29a98bedac7732cb03c3008d0047de6574f9.tar.gz frameworks_base-61da29a98bedac7732cb03c3008d0047de6574f9.tar.bz2 |
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.
Change-Id: I7a92e7295f72b3255e4fba6498fb4039906eb702
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions