summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
AgeCommit message (Expand)Author
2015-10-26Give dhclient(8) the ability to use option 119, a.k.a. "DomainKenneth R Westerback
2015-05-18Tweak parsing so that hostnames starting with 0-9 are accepted.Kenneth R Westerback
2015-02-01free(NULL) works, so stop checking for non-zero length allocationKenneth R Westerback
2014-11-03Don't leak static leases when the 'lease {}' parsing fails or one staticKenneth R Westerback
2014-11-02Pesky whitespace and spurious parenthesis.Kenneth R Westerback
2014-10-27Zap extraneous whitespace and a stuttered extra 'break;'.Kenneth R Westerback
2014-05-12Since all static leases are in one file, /etc/dhclient.conf, there is noKenneth R Westerback
2014-05-11Rework/restore recorded lease handling. Actually use 'lease'Kenneth R Westerback
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.Kenneth R Westerback
2014-05-05A couple of malloc()+memset(0) -> calloc.Kenneth R Westerback
2014-01-25Correct parsing of dhclient.conf statements 'fixed-address' andKenneth R Westerback
2014-01-21Allow dhclient.conf to specify 'fixed-address', 'next-server',Kenneth R Westerback
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
2014-01-20Don't silently skip the next statement when encountering anKenneth R Westerback
2014-01-20Cast pointer to (u_int8_t *) when assigning it to a u_int8_t *Kenneth R Westerback
2014-01-19We don't have any (and I can't find elsewhere) signed 16 bit orKenneth R Westerback
2014-01-19Redo the parsing of numbers to improve the error messages andKenneth R Westerback
2014-01-19Rename parse_hardware_param() to parse_ethernet() to reflect whatKenneth R Westerback
2014-01-18Remove superfluous assignment to local variable 'val' just beforeKenneth R Westerback
2014-01-18Make parse_warn() messages consistantly use 'expecting' ratherKenneth R Westerback
2014-01-18Never silently consume the following statement when unexpectedlyKenneth R Westerback
2014-01-17Make parse_X return -1 when it encounters a parsing error. EnablesKenneth R Westerback
2014-01-13peek_token() a bit more to replace a bunch of manual checks withKenneth R Westerback
2014-01-13Don't eat another token looking for a ';' after skip_to_semi() hasKenneth R Westerback
2014-01-13No need to 'clear the peek buffer' when closing a file. The nextKenneth R Westerback
2014-01-12Since the return value of read_client_conf() is not checked, don'tKenneth R Westerback
2014-01-10skip_to_semi() is gilding the lily when the next statement breaks outKenneth R Westerback
2014-01-10KNF (UNF?). Split annoying long line.Kenneth R Westerback
2013-12-30Replace yet another hand-rolled list with a TAILQ. reject_list thisKenneth R Westerback
2013-12-28Remove unused variable 'token'. Spotted by deraadt@Kenneth R Westerback
2013-12-22Don't look for two semi-colons when encountering an unrecognizedKenneth R Westerback
2013-11-11Shuffle function prototypes and extern declarations around toKenneth R Westerback
2013-10-22Save 'next-server' (a.k.a. siaddr) info in leases file. Saving theKenneth R Westerback
2013-06-09Re-apply static route and classless static route support -- this timeKenneth R Westerback
2013-06-09Backout static/classless route handling and default route refactoringKenneth R Westerback
2013-06-04Add support for static routes option (33) and classless staticKenneth R Westerback
2013-05-02Bunch of comment/whitespace cleanup. Eliminate some misleading orKenneth R Westerback
2013-05-02Enough of the hand-rolling of queues. Turn client->leases andKenneth R Westerback
2013-03-22Ignore client-identifier option in leases from a server. They're not supposedKenneth R Westerback
2013-03-21Free lease with free_client_lease() rather than free().Kenneth R Westerback
2013-02-09As tedu@ pointed out a while ago, it makes little sense to discardKenneth R Westerback
2013-02-01do not leak lease in error path; found by llvmFlorian Obser
2013-01-02Delete misleading comment and a pointless check of !ifi. Since ifiKenneth R Westerback
2012-12-04Eliminate hand-rolled pseudo-strerror() %m strangeness by replacingKenneth R Westerback
2012-11-27Clean up parsing of option lists. Part 7 (and final).Kenneth R Westerback
2012-11-27Clean up parsing of option lists. Part 6.Kenneth R Westerback
2012-11-27Clean up parsing of option lists. Part 5.Kenneth R Westerback
2012-11-25Clean up parsing of option lists. Part 3.Kenneth R Westerback
2012-11-25Clean up parsing of option lists. Part 2.Kenneth R Westerback
2012-11-25Clean up parsing of option lists. Part 1.Kenneth R Westerback