diff options
author | 2013-01-13 22:09:38 +0000 | |
---|---|---|
committer | 2013-01-13 22:09:38 +0000 | |
commit | 2f18daab43d112e5a9a3a1432cce7e4033f8dd91 (patch) | |
tree | 6aede5ae86e1f2cb4125734784abcf758c58a246 /sys | |
parent | Fix warnings. (diff) | |
download | wireguard-openbsd-2f18daab43d112e5a9a3a1432cce7e4033f8dd91.tar.xz wireguard-openbsd-2f18daab43d112e5a9a3a1432cce7e4033f8dd91.zip |
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 'sys')
0 files changed, 0 insertions, 0 deletions