Searched hist:df453039 (Results 1 – 1 of 1) sorted by relevance
/openbsd/sbin/dhclient/ |
H A D | options.c | df453039 Tue Jun 26 14:36:11 GMT 2012 krw <krw@openbsd.org> RFC 2132 says "Options containing NVT ASCII data SHOULD NOT include a trailing NULL; however, the receiver of such options MUST be prepared to delete trailing nulls if they exist."
So delete (all) trailing NUL's when parsing NVT ASCII options. Should fix odd results when 'append'ing info to such options via dhclient.conf.
FreeBSD commit to fix 'append' logic in a different way pointed out by brad.
|