summaryrefslogtreecommitdiff
path: root/sbin/dhclient/options.c
AgeCommit message (Expand)Author
2018-07-22No need to re-implement realloc(). Just use itKenneth R Westerback
2018-07-22Tweak comment about truncating NULs to reflect newKenneth R Westerback
2018-07-22When finished pulling an option out of a buffer, skip directly to theKenneth R Westerback
2018-07-21Reading past the end of a buffer is bad, Even if theKenneth R Westerback
2017-10-11Repair printing of classless-static-routes to leasesKenneth 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-09-09Tweak extract_classless_route() to return unsigned intKenneth R Westerback
2017-09-01Two stray "if (p)" -> "if (p != NULL)" andKenneth R Westerback
2017-08-29Add a utility function extract_classless_route() andKenneth R Westerback
2017-08-28No need for pretty_print_classless() to useKenneth 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-08Fold tables.c into options.c and stop exporting the oneKenneth R Westerback
2017-07-08Always use uintNN_t instead of sometimes u_intNN_tKenneth R Westerback
2017-07-07Replace the many occurances of '256' with a new #defineKenneth R Westerback
2017-07-07Rename cons_options() to pack_options(), and do_packet() toKenneth R Westerback
2017-07-06cons_options() only needs to know a buffer and a length toKenneth R Westerback
2017-06-15Nuke unused parameter 'client_addr' from the 'handlers', i.e.Kenneth R Westerback
2017-06-14Move xid, secs, first_sending, startup_time fields fromKenneth R Westerback
2017-06-14Start consolidating client_state into interface_info. FirstKenneth R Westerback
2017-06-13Rename 'packet' field to 'recv_packet' and 'bootrequest_packet'Kenneth R Westerback
2017-04-09Seven casts, a couple of tweaks and CFLAGS+=-Wsign-compare for theKenneth R Westerback
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingKenneth R Westerback
2017-04-08Replace another snprintf() dance with easier to read code usingKenneth R Westerback
2017-04-08Replace a mess of snprintf() dances with easier to read code usingKenneth R Westerback
2017-04-07Simply decoding of domain search option. No intentional functionalKenneth R Westerback
2017-03-26Fix dhclient vis/unvis of strings stored in the leases file.Kenneth R Westerback
2017-03-08Add comments to #endif's to allow easy differentiation between manyKenneth R Westerback
2017-02-12Adjust lines that are too long.Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2016-10-06Add support for RFC 6842, which says the client MUST drop packets whenKenneth R Westerback
2016-09-02Kill 'ifi' global.Martin Pieuchot
2016-08-31Remove the 'client' global and make it per-ifp.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-10-26Give dhclient(8) the ability to use option 119, a.k.a. "DomainKenneth R Westerback
2014-10-27Nuke getLong(), getShort(), getUShort(). Two line functions (memcpy();Kenneth R Westerback
2014-10-27htonl(ntohl(memcpy'd buf)) seems like the long way around to copyKenneth R Westerback
2014-10-27Zap extraneous whitespace and a stuttered extra 'break;'.Kenneth R Westerback
2014-07-28Fix memory exhaustion occurring on DHCP options with 0 length.Tobias Stoeckmann
2014-07-09Special case pretty printing of DHO_CLASSLESS_STATIC_ROUTES andKenneth R Westerback
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.Kenneth R Westerback
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
2014-01-19We don't have any (and I can't find elsewhere) signed 16 bit orKenneth R Westerback
2013-12-30Replace yet another hand-rolled list with a TAILQ. reject_list thisKenneth R Westerback
2013-12-22Setting format id to 't' when it's already 't' is a waste ofKenneth R Westerback