summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
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-20Preserve tabs when constructing the "^" line in parse_warn(). NowKenneth R Westerback
2014-01-20more %d type correctness; ok krwTheo de Raadt
2014-01-20%d cleanups, to other formats; ok krwTheo de Raadt
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-19Nuke unused functions putLong(), putUShort(), putShort().Kenneth 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-19Adjust lexchar position by ugflag once only.Kenneth R Westerback
2014-01-18If ugflag (indicating a character from the file being parsed has beenKenneth 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-17Do not follow symlinks for -l and -L arguments.Tobias Stoeckmann
2014-01-17Make parse_X return -1 when it encounters a parsing error. EnablesKenneth R Westerback
2014-01-16Avoid size_t overflow while reading /etc/resolv.conf.tail.Tobias Stoeckmann
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-13Don't eat two tokens when encountering a non-terminal '}'. AvoidsKenneth R Westerback
2014-01-13warning(), note(), debug(), parse_warn() always return 0, which noKenneth R Westerback
2014-01-12Since the return value of read_client_conf() is not checked, don'tKenneth R Westerback
2014-01-10Yet another annoyingly long line.Kenneth 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-22Setting format id to 't' when it's already 't' is a waste ofKenneth R Westerback
2013-12-22No need to change format id 'X' (ascii or hex) to 'x' (hex) whileKenneth R Westerback
2013-12-22Don't look for two semi-colons when encountering an unrecognizedKenneth R Westerback
2013-12-21Introduce pretty_print_string() and use for printing both textKenneth R Westerback
2013-12-18Code existed to print non-printable characters in strings writtenKenneth R Westerback
2013-12-15Update timestamps in 'effective' lease before printing out theKenneth R Westerback
2013-12-14Start cleanup/fixup of pretty printing of option data. Use snprintf()Kenneth R Westerback
2013-12-14When cloning leases remember to clone address, next_server andKenneth R Westerback
2013-12-12Delete spurious blank line.Kenneth R Westerback
2013-12-12Eliminate (most) double decrements of remaining space in the prettyKenneth R Westerback
2013-12-12Assemble outgoing packets using iovec to combine the (optional)Kenneth R Westerback
2013-12-11Stray memcpy() using src size.Kenneth R Westerback
2013-12-10Oops. Missed file.Kenneth R Westerback
2013-12-10Rework [priv_]write_file() and associated struct imsg_write_fileKenneth R Westerback
2013-12-09Refactor processing of classless static routes option (121). AddKenneth R Westerback
2013-12-08Reduce in_addr memcpy() dances by simply using assignments where the sourceKenneth R Westerback
2013-12-06Having stopped pretending we handle anything but ethernet packets,Kenneth R Westerback
2013-12-05Stop pretending we still support FDDI or token ring hardware types.Kenneth R Westerback
2013-12-05Use destination size as size of memcpy(). Use <in_addr> rather thanKenneth R Westerback