summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
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-14bpf(4) *may* deliver more than one captured packet at a time. So whenKenneth 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-09Be consistent. "return (e);" -> "return e;"Kenneth R Westerback
2017-07-09Some parsing code cleanup: add parse_boolean(); pass literal formatKenneth 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 strcasecmp() when comparing user input to optionKenneth 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-07assemble_eh_header() needs only to know about hw_addr.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-03sizeof(struct sockaddr_in) != sizeof(struct in_addr).Kenneth R Westerback
2017-07-02Unbreak tree by putting revised resolv_conf_priority() declaration inKenneth R Westerback
2017-07-01Eliminate multiple socket openings/closings and passKenneth R Westerback
2017-06-29Nuke undocumented long-deprecated and/or unsupported leaseKenneth R Westerback
2017-06-29delete_addresses(), interface_status(), addressinuse(),Kenneth R Westerback
2017-06-28reinstate .El removed in previous;Jason McIntyre
2017-06-28Only pass required fields of interface_info to priv_* functionsKenneth R Westerback
2017-06-28delete_route() doesn't need any info from its struct interface_infoKenneth R Westerback
2017-06-28resolv_conf_priority() is a function local to kroute.c, noKenneth 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-28Be consistent and always use socket(..., SOCK_DGRAM, ...) forKenneth R Westerback
2017-06-27Make if_register_bpf() the same as the other if_register_*() functionsKenneth R Westerback
2017-06-27Nuke get_rdomain() and just snag the interface rdomain from the sameKenneth R Westerback
2017-06-25priv_add_address() is no longer invoked to signal the deletion of theKenneth 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-23Oops. Remove extraneous 'return' and some braces fromKenneth R Westerback
2017-06-23Use a const char * for "/etc/resolv.conf.tail" instead of repeating theKenneth R Westerback
2017-06-23Take reyk's imsg resolv.conf improvements of a while ago to theirKenneth R Westerback
2017-06-22Drop support for old (>4yr) timestamp formats in leasesKenneth 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