summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/parse.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-22Cleanup/simplify parse_number():krw1-36/+5
2019-07-21Restructure parse_semi() so it resembles the other parse_*krw1-7/+8
2019-07-21Replace malloc()/memcpy() with strdup() in parse_string(). Nuke 'len' parameterkrw1-7/+4
2019-03-19Parsing error messages display only the first 80 characters of thekrw1-2/+2
2018-01-04parse_lease_time() is an unnecessary abstraction. Just usekrw1-26/+1
2018-01-04We only parse decimal numbers, so parse_decimal() -> parse_number() tokrw1-2/+2
2017-11-09Use lease 'epoch' (time lease was acquired) to calculate timers forkrw1-60/+1
2017-11-06Add format 't' to parse_decimal() for signed 64-bitkrw1-1/+6
2017-10-23Use same parse_warn() verbiage in parse_lease_time() as thatkrw1-2/+2
2017-10-19Nuke special case for '\n' in skip_to_semi() andkrw1-10/+1
2017-10-14Refactor parsing of hex sequences. Rename parse_X()krw1-22/+1
2017-10-12Make parse_string() toe the new line by returningkrw1-21/+20
2017-10-11Works better when both files in a diff arekrw1-2/+4
2017-10-11Tweak parse_date() again, this time to factorkrw1-14/+17
2017-10-11Tweak parse_decimal() and its invocations to emit akrw1-8/+18
2017-10-10Tweak parse_boolean() to be more like its friends.krw1-1/+5
2017-10-10Tweak parse_cidr() to be more like its friends.krw1-25/+30
2017-10-09Tweak parse_lease_time() to emit a single message onkrw1-9/+15
2017-10-09Tweak parse_ip_addr() to emit a single message onkrw1-21/+24
2017-10-08Simply parse_date() by trusting strptime() more and omittingkrw1-32/+22
2017-09-17Oops. Missed a file.krw1-4/+4
2017-09-14Strive to rationalize fatal[x]() usage andkrw1-2/+2
2017-07-24Tweak some commentskrw1-3/+4
2017-07-14Replace remaining "!var" expressions withkrw1-11/+11
2017-07-14Replace remaining "!<pointer>" expressions withkrw1-2/+2
2017-07-10Use a modern spacious idiom on all function local variablekrw1-24/+24
2017-07-09Be consistent. "return (e);" -> "return e;"krw1-26/+26
2017-07-09Some parsing code cleanup: add parse_boolean(); pass literal formatkrw1-1/+24
2017-07-08Always use uintNN_t instead of sometimes u_intNN_tkrw1-2/+2
2017-06-29Nuke undocumented long-deprecated and/or unsupported leasekrw1-38/+1
2017-06-22Drop support for old (>4yr) timestamp formats in leaseskrw1-9/+3
2017-06-19Various KNF nits.krw1-2/+2
2017-06-10Nuke unused global warnings_occurred.krw1-5/+1
2017-04-09Seven casts, a couple of tweaks and CFLAGS+=-Wsign-compare for thekrw1-3/+3
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingkrw1-3/+3
2017-04-03Change parse_string() to take an optional integer pointer that cankrw1-2/+4
2017-04-03Simplify read_string() to just read the characters between the '"'s.krw1-3/+12
2017-04-03Tweak parse_string() to not consume the ';'. Simplifies/shortenskrw1-8/+1
2017-04-03Tweak 'expecting' parse_warn() messages to be more consistent.krw1-6/+6
2017-04-02Change parse_string() warning from "filename must be a string" tokrw1-2/+2
2017-02-15Use new log.[ch] functions in parse_warn().krw1-36/+12
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.krw1-3/+6
2017-02-11Move parse_warning() into parse.c to prepare to replace errwarn.ckrw1-1/+49
2016-02-06Eliminate #include inside *.h files and include only needed headers inkrw1-1/+16
2015-05-18Tweak parsing so that hostnames starting with 0-9 are accepted.krw1-1/+2
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.krw1-6/+6
2014-01-21Add parsing for options 121 (classless-static-routes) and 249krw1-1/+40
2014-01-19We don't have any (and I can't find elsewhere) signed 16 bit orkrw1-11/+1
2014-01-19Redo the parsing of numbers to improve the error messages andkrw1-142/+112
2014-01-19Rename parse_hardware_param() to parse_ethernet() to reflect whatkrw1-4/+3