summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
AgeCommit message (Expand)Author
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
2017-10-16Sort & update syntax comments to match code. SortKenneth R Westerback
2017-10-16Bring parse_reject_statement() into line byKenneth R Westerback
2017-10-14Whitespace fix.Kenneth R Westerback
2017-10-14Refactor parsing of hex sequences. Rename parse_X()Kenneth R Westerback
2017-10-14Tweak parse_option_list() to return 0/1 to indicate success,Kenneth R Westerback
2017-10-13Tweak parse_option_decl() to return 0/1 to indicate success,Kenneth R Westerback
2017-10-12Don't leak string that overflows the option data buffer.Kenneth R Westerback
2017-10-12Stop leaks of SSID strings. Whitespace fix.Kenneth R Westerback
2017-10-12Make parse_string() toe the new line by returningKenneth R Westerback
2017-10-11Eliminate unneeded intermediate variable. FixKenneth R Westerback
2017-10-11Tweak parse_date() again, this time to factorKenneth R Westerback
2017-10-11Tweak parse_decimal() and its invocations to emit aKenneth R Westerback
2017-10-10Tweak parse_boolean() to be more like its friends.Kenneth R Westerback
2017-10-09Tweak parse_lease_time() to emit a single message onKenneth R Westerback
2017-09-20Tweak, shorten, use more consistant verbiage.Kenneth R Westerback
2017-09-20Wrong captilization, long lines.Kenneth R Westerback
2017-09-17Create global 'log_procname' and set it to '<ifname>' orKenneth R Westerback
2017-09-14Strive to rationalize fatal[x]() usage andKenneth R Westerback
2017-08-14Try for consistency in sizeof() usage.Kenneth R Westerback
2017-07-14Replace remaining "!var" expressions withKenneth R Westerback
2017-07-14Replace remaining "!<pointer>" expressions withKenneth R Westerback
2017-07-10Use a modern spacious idiom on all function local variableKenneth R Westerback
2017-07-09Be consistent. "return (e);" -> "return e;"Kenneth R Westerback
2017-07-09Some parsing code cleanup: add parse_boolean(); pass literal formatKenneth R Westerback