diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-01-13 22:09:39 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-01-13 22:09:39 +0000 |
commit | a90d9482cf493267b048ac28ccf91318c51bfdf2 (patch) | |
tree | a0cd27616a07f5cd95d2864ba0e6bb2f7386b554 /etc/hostapd.conf | |
parent | 3aff13d026f23ec68d9fc2a91e5b19712e9be71c (diff) |
Make pretty_print_option() return "" rather than "<fmt error>" when
the option fails validation tests. Make pretty_print_option() bail
on all bad format strings, and on all incorrect option data lengths.
Check pretty_print_option() return value rather than repeating
validation with check_option(). Do res_hnok() check on host name,
domain name, and nis domain while creating lease from packet info.
As a result, nuke ipv4addrs() and check_option().
Ignore options that do not validate rather than summarily rejecting
offered lease. Treat all options whose names start with "option-"
as unknown rather than relying on a big switch on DHO_ names.
Started when reading dhclient(8) -u verbiage.
Diffstat (limited to 'etc/hostapd.conf')
0 files changed, 0 insertions, 0 deletions