summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
AgeCommit message (Expand)Author
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
2017-12-08When accepting a BOOTP lease, do not leak offered values of leaseKenneth R Westerback
2017-12-07Nuke support for defining last-gasp leases in dhclient.conf.Kenneth R Westerback
2017-12-03Move timer fields 'expiry" and "rebind" out of struct client_leaseKenneth R Westerback
2017-11-09Use lease 'epoch' (time lease was acquired) to calculate timers forKenneth R Westerback
2017-11-06Add lease declaration 'epoch' to hold the time() when a lease isKenneth R Westerback
2017-10-23Use 'for (;;)' instead of a mix of "while (1) {}" andKenneth R Westerback
2017-10-23Enforce dhclient.conf prohibitions on nesting 'interface'Kenneth R Westerback
2017-10-21Last but not least, bring parse_interface_declaration()Kenneth R Westerback
2017-10-21Whitespace.Kenneth R Westerback
2017-10-21Bring parse_client_lease_statement() into the new world byKenneth R Westerback