CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2012/06/26 08:36:11

Modified files:
        sbin/dhclient  : options.c 

Log message:
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.

Reply via email to