summaryrefslogtreecommitdiff
path: root/sbin/dhclient/options.c
AgeCommit message (Expand)Author
2013-02-14Don't rely on the packet buffer (client->packet) being preserved betweenKenneth R Westerback
2013-01-16Unrevert last reversion. otto@ pointed out that it wasn't asprintf()Kenneth R Westerback
2013-01-16Revert last. asprintf() breaks something.Kenneth R Westerback
2013-01-16Use the magic of asprintf() to produce more informative errorKenneth R Westerback
2013-01-13More informative error message.Kenneth R Westerback
2013-01-13Make pretty_print_option() return "" rather than "<fmt error>" whenKenneth R Westerback
2012-11-15Shuffle #include's to use the majority idiom everywhere - i.e. useKenneth R Westerback
2012-11-08Remove confusing extra address abstraction 'struct iaddr'. Just useKenneth R Westerback
2012-11-07Use memset() consistently rather than tossing in a few bzero()'s.Kenneth R Westerback
2012-10-27Change dhclient.conf directive 'ignore' to take a list of option namesKenneth R Westerback
2012-06-26Add some more paranoia and make code clearer. Check that the requiredKenneth R Westerback
2012-06-26RFC 2132 says "Options containing NVT ASCII data SHOULD NOT includeKenneth R Westerback
2011-05-11Make dhclient more friendly to sequential option processing byKenneth R Westerback
2011-04-17fix a possible division by zero if a server sends us a broken optionPeter Hessler
2009-03-10Add 6-byte MAC address to the log entries for DHCP ACK/NAK/OFFER.Kenneth R Westerback
2007-06-02safer snprintf construct with more paranoid length calculationPeter Valchev
2007-05-31fix a funny memory miscalculation bug in options parsingPeter Valchev
2007-02-14spacing and a typo that fell out of the readTheo de Raadt
2007-01-25Cleanup some more code. Eliminate dhcp(), bootp(), parse_options() byKenneth R Westerback
2007-01-16More cleanup. Eliminate 'struct packet' by cleverly passing asKenneth R Westerback
2007-01-14Don't treat any packet with an invalid option buffer or an invalidKenneth R Westerback
2007-01-11Reject all packets with an option claiming to extend past the end ofKenneth R Westerback
2007-01-06Fix options parsing. Last commit lost the proper length of theKenneth R Westerback
2007-01-04Another round of cleanup. There is only one instance of structKenneth R Westerback
2006-12-26Our dhclient only handles one interface. Simplify code by using theKenneth R Westerback
2006-12-15typo in commentKevin Steves
2005-08-22Fix problems with some Linksys DHCP servers (and probably others) byKenneth R Westerback
2005-07-16back out last; breaks in cases where we want hex and the last byte is 0Henning Brauer
2005-07-15let pretty_print_option() handle trailing nul bytes correctly (i. e. don'tHenning Brauer
2005-07-13spacingTheo de Raadt
2005-07-13Repair/rationalize option handling to ensure valid option section isKenneth R Westerback
2005-07-09Clean out a few more unused/uninitialized variables.Kenneth R Westerback
2005-07-08More dead and moribund code removal/cleanup. This time unused parametersKenneth R Westerback
2005-07-08Eliminate unused code and associated parameters.Kenneth R Westerback
2005-07-07Eliminate unused code and associated parameter.Kenneth R Westerback
2005-07-07Eliminate tree_cache structure in favour of option_data. EliminateKenneth R Westerback
2004-12-26snprintf return value paranoia; henning okTheo de Raadt
2004-11-02delint gunk approved by otto a while backTheo de Raadt
2004-09-21spelling fixes; ok jmc@ henning@David Krause
2004-09-15no \n in error() calls and minor KNF, from Moritz Jodeit <moritz@jodeit.org>Henning Brauer
2004-05-06remove more unused codeTheo de Raadt
2004-05-04do not overload libc function names causing linker troublesMichael Shalayeff
2004-05-04remove things not used, spotted by lint mostly; ok henningTheo de Raadt
2004-04-14get rif of the few dmalloc/dfree occurances that were leftHenning Brauer
2004-03-02more pruning; henning okTheo de Raadt
2004-02-24zap more unused crapHenning Brauer
2004-02-07KNFHenning Brauer
2004-02-07more KNF From: Emil Mikulic <emikulic@dmr.ath.cx>Henning Brauer
2004-02-06more Knall & Rauch -> ANSI C, KNF and stuff that makes this a bit moreHenning Brauer
2004-02-04$OpenBSD$, teduHenning Brauer