summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2017-07-22Whitespace.Kenneth R Westerback
2017-07-22Oops. Missed chunk keeping /32 netmask magic.Kenneth R Westerback
2017-07-22Rename *_add_address to *_set_address to reflect that theKenneth R Westerback
2017-07-21s/set_interface_mtu/set_mtu/gKenneth R Westerback
2017-07-21whitespace botch.Kenneth R Westerback
2017-07-20Restore RTM_DELADDR/RTM_NEWADDR monitoring to theKenneth R Westerback
2017-07-17Nuke findproto() and get_ifa(). They are unused now thatKenneth R Westerback
2017-07-17Remove some magic formerly used to detect the presence of anotherKenneth R Westerback
2017-07-14Replace remaining "!var" expressions withKenneth R Westerback
2017-07-14Replace remaining "!<pointer>" expressions withKenneth R Westerback
2017-07-14Pour the few relevant bits of the current lease and the offeredKenneth R Westerback
2017-07-10Take some of the mystery out of who does what byKenneth R Westerback
2017-07-10Use ioctlfd/routefd sockets rather than rolling one's ownKenneth 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-09Whitespace tweaks to assuage auto-indent.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-07dispatch_imsg() only needs to know name and rdomain.Kenneth 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-07-05Remove knowledge of struct interface_info from clparse.c. JustKenneth R Westerback
2017-07-01Eliminate multiple socket openings/closings and passKenneth R Westerback
2017-06-29delete_addresses(), interface_status(), addressinuse(),Kenneth R Westerback
2017-06-28Only pass required fields of interface_info to priv_* functionsKenneth R Westerback
2017-06-28Stop trying to clean up addresses, routes and "-L" fileKenneth R Westerback
2017-06-28Consistently use socket(..., AF_INET) for routingKenneth R Westerback
2017-06-27Nuke get_rdomain() and just snag the interface rdomain from the sameKenneth R Westerback
2017-06-25Oops. Revert unintentional/premature functional change. Deleting theKenneth R Westerback
2017-06-24Tweak handling of HUP and new LLADDR. Just use expose and use sighup()Kenneth R Westerback
2017-06-24Use a local variable rather than a global flag to recordKenneth R Westerback
2017-06-23Once you have forked into two processes, setting a global flagKenneth R Westerback
2017-06-23Use a const char * for "/etc/resolv.conf.tail" instead of repeating theKenneth R Westerback
2017-06-21Teach get_recorded_lease() that static leases do notKenneth R Westerback
2017-06-21No need to manually check validity of ifi->active whenKenneth R Westerback
2017-06-21Consistently use time(&var) idiom rather than tossing in a fewKenneth R Westerback
2017-06-21Allow familiar idiom free_client_lease(NULL).Kenneth R Westerback
2017-06-19Various KNF nits.Kenneth R Westerback
2017-06-19Erroneous host names in various options should be ignoredKenneth R Westerback
2017-06-18Move the timeout information into struct interface_info withKenneth R Westerback
2017-06-18Convert last set_timeout() use to set_timeout_interval() andKenneth R Westerback
2017-06-18Drop (int) casts of (time_t - time_t) calculations thatKenneth R Westerback
2017-06-18Nuke stray and misleading comment.Kenneth R Westerback
2017-06-18Make 'DEBUG' compile again.Kenneth R Westerback
2017-06-17Shuffle dhcp[offer|ack|nak]() functions together for easy reference.Kenneth R Westerback
2017-06-17Rename struct interface_info field 'new' to clearer 'offer'.Kenneth R Westerback
2017-06-17We accept either the first offer received, or an offer for theKenneth R Westerback
2017-06-17DECLINE offers as they are deemed invalid. Decline them at theKenneth R Westerback
2017-06-16Nuke 'is_bootp' field and just use a #define to check if the leaseKenneth R Westerback