summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
AgeCommit message (Expand)Author
2021-02-27Stop checking 'epoch' in get_recorded_lease() and just set it asKenneth R Westerback
2021-02-21Rename struct client_config fields 'timeout', 'link_timeout' andKenneth R Westerback
2020-12-10Simplify '-i' handling, failing immediately during command line parsingKenneth R Westerback
2020-12-06Oops. Missed chunk in previous.Kenneth R Westerback
2020-05-13Repair 'domain-search' parsing broken in r1.191.Kenneth R Westerback
2020-05-13We don't count a terminating NUL in the length of option data.Kenneth R Westerback
2020-05-13Nuke a variable that is always set to 0.Kenneth R Westerback
2020-05-13No need to memcpy() into a string created by strdup().Kenneth R Westerback
2020-02-02Tweak dhclient(8) timing defaults depending on SMALL rather than usingKenneth R Westerback
2019-12-17Reject leases that do not provide a subnet mask for the address beingKenneth R Westerback
2019-07-23Compilers may not be as magical as I hope, so revert to using memcpy()Kenneth R Westerback
2019-07-22Cleanup/simplify parse_number():Kenneth R Westerback
2019-07-22Eliminate pointless "... else {}" branch to improve readability.Kenneth R Westerback
2019-07-21Replace malloc()/memcpy() with strdup() in parse_string(). Nuke 'len' parameterKenneth R Westerback
2019-07-20Use same 'switch (token) ...' idiom in parse_lease_decl() andKenneth R Westerback
2019-07-20Sort TOK_USELEASE case into proper alphabetic location inKenneth R Westerback
2019-07-19Nuke a bunch of 'name' parameters that haven't been used sinceKenneth R Westerback
2019-06-29write_lease_db() only needs ifi->name and ifi->lease_db.Kenneth R Westerback
2019-04-02Add human readable parsing/display of RFC1035 data in domain-searchKenneth R Westerback
2019-03-20Do not accept dhclient.conf(5) "prepend" or "append" statements whenKenneth R Westerback
2019-02-12Restructure code to simplifiy imsg communications, further separatingKenneth R Westerback
2019-01-26Rename ACTION_NONE to ACTION_USELEASE. TOK_NOACTION to TOK_USELEASE.Kenneth R Westerback
2019-01-26Add 'uselease' statement to allow the disabling of built-in orKenneth R Westerback
2019-01-18Oops. Nuke debug statement that snuck it.Kenneth R Westerback
2019-01-18Shuffle lease file reading code to improve clarity and shorten someKenneth R Westerback
2019-01-18Yet another long line broke cover.Kenneth R Westerback
2019-01-18Be consistent in explicitly testing memcmp() return values.Kenneth R Westerback
2019-01-14Make apply_ignore_list(), set_default_hostname(),Kenneth R Westerback
2019-01-14Abstract allocation and initialization of config globalKenneth R Westerback
2019-01-14set_default_client_identifier() only needs theKenneth R Westerback
2019-01-14Check NULLness of ignore list inside apply_ignore_list() and notKenneth R Westerback
2019-01-13Abstract /etc/resolv.conf.tail reading out of main()Kenneth R Westerback
2019-01-13White space nits.Kenneth R Westerback
2019-01-13Shuffle apply_ignore_list(), set_default_client_identifier() andKenneth R Westerback
2018-11-04No names in function prototypes. Spaces after commas inKenneth R Westerback
2018-02-10Fix 'ignore ;' so that it really does reset the ignore list.Kenneth R Westerback
2018-02-06Flip -q (be quiet) into -v (be noisy), making terseness the defaultKenneth R Westerback
2018-01-05Complete and fix grammar in comments and bring grammar terms,Kenneth R Westerback
2018-01-04Compact some whitespace, unsplit now shorter lines.Kenneth R Westerback
2018-01-04Comments and grammar use '_decl' so use _decl instead of _declarationKenneth R Westerback
2018-01-04parse_lease_time() is an unnecessary abstraction. Just useKenneth R Westerback
2018-01-04We only parse decimal numbers, so parse_decimal() -> parse_number() toKenneth R Westerback
2018-01-02More grammar comments improvements.Kenneth R Westerback
2018-01-01Tweak syntax comments into consistency and completeness.Kenneth R Westerback
2017-12-18Stop inserting and paying attention to 'interface <if>;'Kenneth R Westerback
2017-12-17Further simplifY lease parsing. Fold add_lease() into read_lease_db(),Kenneth R Westerback
2017-12-16With leases no longer in dhclient.conf, rename a bunch ofKenneth R Westerback
2017-12-13Fix whitespace botch that snuck in.Kenneth R Westerback
2017-12-13Simplifiy parser by not worrying about nesting 'interface <if> {}'Kenneth R Westerback
2017-12-09Add ACTION_IGNORE and nuke ignored_options, ignored_option_count fieldsKenneth R Westerback