CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/10/14 09:31:46
Modified files:
sbin/dhclient : clparse.c dhcpd.h parse.c
Log message:
Refactor parsing of hex sequences. Rename parse_X()
to parse_hex_octets() and have it return 0/1 to indicate success,
to not touch existing data on error paths, to handle ';'
better, emit single error message ("expecting colon
delimited list of hex octets."). Fold parse_hex() into
parse_hex_octets().
Simplify logic in parse_option_decl() to eliminate duplicate
overflow error checking and error messages as a result.