summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2017-08-13Simplify HUP handling now that proper errorKenneth R Westerback
2017-08-10Add IMSG_SET_RESOLV_CONF and keep the cached contentsKenneth R Westerback
2017-08-09Add some additional poll() error checking. Remove checksKenneth R Westerback
2017-08-08KNF some long lines.Kenneth R Westerback
2017-07-30Use effective_proposal data to build resolv.conf contents.Kenneth R Westerback
2017-07-30Use effective_proposal data to set mtu and address.Kenneth R Westerback
2017-07-29Default routes supplied via DHO_CLASSLESS[_MS]_STATIC_ROUTESKenneth R Westerback
2017-07-26Check the option length, not its address (which will never be NULL)Jeremie Courreges-Anglas
2017-07-26Local declaration beautification.Kenneth R Westerback
2017-07-26Stray u_int16_t -> uint16_t.Kenneth R Westerback
2017-07-24Throw DHO_STATIC_ROUTES to the floor! Roughly! EnsureKenneth R Westerback
2017-07-24Shuffle some declarations and functions into the onlyKenneth R Westerback
2017-07-24Tweak some commentsKenneth R Westerback
2017-07-24Move invocations of flush_routes() and delete_addresses() fromKenneth R Westerback
2017-07-24ROUNDUP() adjustment missed by great ROUNDUP() roundup.Kenneth R Westerback
2017-07-22Add set_routes() and move bind_lease() route magicKenneth R Westerback
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