summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2007-08-14make default_lease_time a #define; ok krw@ henning@Kevin Steves
2007-08-11Kill a couple of 'echo' statements that can never produce visibleKenneth R Westerback
2007-07-18eliminate duplicate code to open lease file and just open atKevin Steves
2007-06-02safer snprintf construct with more paranoid length calculationPeter Valchev
2007-05-31fix a funny memory miscalculation bug in options parsingPeter Valchev
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-02caret missing, From: "Matthew R. Dempsky" <mrd@alkemio.org>Henning Brauer
2007-03-02and the second use of the spaces array might overflow too, in anotherHenning Brauer
2007-03-02If a syntax error is found past 80 columns, parse_warn accessed memoryHenning Brauer
2007-02-25No point in using zero'd fields in the parsed options. Use the optionsKenneth R Westerback
2007-02-25remove unused/dangling prototypes and comment reference;Kevin Steves
2007-02-25no need to quote/escape here; ok krw@Kevin Steves
2007-02-15make read connection closed message a debug(); ok henning@Kevin Steves
2007-02-14spacing and a typo that fell out of the readTheo de Raadt
2007-02-14use errwarn functions vs. syslog(); ok henning@ krw@Kevin Steves
2007-02-13move includes only needed in dhclient.c; ok henning@Kevin Steves
2007-02-13error check socket() return; ok henning@Kevin Steves
2007-02-01Don't count ethernet as overhead for UDP packet constuction. GivesKenneth R Westerback
2007-01-29Don't malloc memory to store option data in leases, just appropriateKenneth R Westerback
2007-01-27We only poll on the bpf fd and the routing socket fd. No need forKenneth R Westerback
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-11Since bootp_packet_handler is always set to do_packet before weKenneth R Westerback
2007-01-11remove unused #define DHCP_MIN_LENKevin Steves
2007-01-11Reject all packets with an option claiming to extend past the end ofKenneth R Westerback
2007-01-08Don't leak strings.Kenneth R Westerback
2007-01-08Initialize incoming packet buffer with DHO_END (0xff) rather thanKenneth R Westerback
2007-01-06Fix options parsing. Last commit lost the proper length of theKenneth R Westerback
2007-01-04Eliminate the 'len' parameter from send_packet() since it alwaysKenneth R Westerback
2007-01-04Another round of cleanup. There is only one instance of structKenneth R Westerback
2007-01-04<sys/un.h> not neededKevin Steves
2006-12-28please lintTheo de Raadt
2006-12-28parenthesis not needed here; consistent with usage in other areas.Kevin Steves
2006-12-28small knf (extra space, newline)Kevin Steves
2006-12-28no extra "\n" in note(); ok krw@ henning@Kevin Steves
2006-12-27Since we only have the single global struct interface_info, weKenneth R Westerback
2006-12-26Our dhclient only handles one interface. Simplify code by using theKenneth R Westerback
2006-12-26There must be no alias address set, so check ifi->client->aliasMoritz Jodeit
2006-12-22delete prototypes for functions that don't existKevin Steves
2006-12-18remove statement for send parameter: "except that the client canKevin Steves
2006-12-18this is clearer and consistent with other areas; ok henning@Kevin Steves
2006-12-17remove ASSERT_STATE() macro which is a NOOP, no binary change; ok henning@Kevin Steves
2006-12-17fix commentKevin Steves
2006-12-16make /sbin/dhclient-script consistent with other paths; ok henning@Kevin Steves
2006-12-15KNFKevin Steves
2006-12-15typo in commentKevin Steves
2006-11-27correct commentKevin Steves
2006-11-27Recognize when we are sending to a unicast destination IP address andKevin Steves
2006-11-27remove invalid commentKevin Steves