summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2012-11-04No need to pass interface name around when flushing routes.Kenneth R Westerback
2012-11-04No need to pass interface name around when creating routes.Kenneth R Westerback
2012-11-03Various fixes/tweaks for resolv.conf handling:Kenneth R Westerback
2012-11-03While this identical idiom caused problems when building an ifaliasreqKenneth R Westerback
2012-11-02Avoid some misaligned access on sparc64 (at least) by bcopy()'ingKenneth R Westerback
2012-11-02Don't add a 'nameserver' line to resolv.conf if the nameserver inKenneth R Westerback
2012-11-02Watch the non-privileged end of the pipe to the privileged childKenneth R Westerback
2012-11-01KNF some leading spaces into tabs.Kenneth R Westerback
2012-10-31Delete some leftover debug code and the array it rode in on.Kenneth R Westerback
2012-10-31chris@ spotted a '2038' where a '2048' was meant and pointed outKenneth R Westerback
2012-10-31Forcibly delete all existing ipv4 addresses from an interface whenKenneth R Westerback
2012-10-30Nuke dhclient-script and dhclient.conf 'script' directive. Do allKenneth R Westerback
2012-10-30New file holding functions to perform direct interface and routingKenneth R Westerback
2012-10-27Change dhclient.conf directive 'ignore' to take a list of option namesKenneth R Westerback
2012-10-11Remove the new (as of r1.56) line of code which updates ifi->linkstat inStuart Henderson
2012-10-10Revert r1.155. Routing breaks if dhclient-script flushes theKenneth R Westerback
2012-09-22last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2012-09-18Once resolv.conf.saved has been copied back as resolv.conf, delete it soKenneth R Westerback
2012-09-18Don't accept leases that offer a subnet that is already configuredKenneth R Westerback
2012-09-17When a link is lost, call dhclient-script with reason "FAIL". ThisKenneth R Westerback
2012-09-17De-obfuscate and update reality correspondance of some comments.Kenneth R Westerback
2012-09-01Oops. Missed a reinitialize_interface() declaration.Kenneth R Westerback
2012-09-01Nuke a static global I can't get my head around - interfaces_invalidated.Kenneth R Westerback
2012-08-31Nuke a bunch of annoying "/* Send a packet. */" comments aboveKenneth R Westerback
2012-08-29no point having two copies of this file - this copy never gotJason McIntyre
2012-08-26Junk global cur_time, and use time(NULL) or local variables whereKenneth R Westerback
2012-08-22add ignore keyword to conf file, allowing one to ignore unwanted infoTed Unangst
2012-08-21Don't abandon time_t precision for intervals. Use (long long) and %lld whenKenneth R Westerback
2012-08-18Don't store a time_t into an int. Make the variable time_t.Kenneth R Westerback
2012-08-18Don't try to printf() a time_t value with %d. Cast to (int) justKenneth R Westerback
2012-08-18Remove unused field 'next' from struct timeout. There's only oneKenneth R Westerback
2012-08-18Update global cur_time after exiting poll() and before calling theKenneth R Westerback
2012-07-26Make interface_status() assume that a link is up when IFM_AVALIDKenneth R Westerback
2012-07-09Terminate with extreme prejudice the multiple timeout queuingKenneth R Westerback
2012-06-26Add some more paranoia and make code clearer. Check that the requiredKenneth R Westerback
2012-06-26RFC 2132 says "Options containing NVT ASCII data SHOULD NOT includeKenneth R Westerback
2012-06-24Nuke interface_link_status() (check media status only) and useKenneth R Westerback
2012-06-22Two 'ioctl() < 0' -> 'ioctl() == -1'. guenther@ says they're odd.Kenneth R Westerback
2012-06-22Set state to S_REBOOTING when calling state_reboot() and set stateKenneth R Westerback
2012-06-20Cancel all timeouts in state_reboot(), since we can get there from any stateMark Kettenis
2012-01-15Make dhclient use the correct rdomain for all requests for leases, notPeter Hessler
2011-12-10Try harder to re-initialize parsing state so nothing accidentallyKenneth R Westerback
2011-12-10Tweak parsing. No need to declare, assign and then ignore the tokenKenneth R Westerback
2011-12-10Tweak leases file handling.Kenneth R Westerback
2011-05-11Make dhclient more friendly to sequential option processing byKenneth R Westerback
2011-04-17by default we ignore unknown dhcp server options, so don't botherPeter Hessler
2011-04-17fix a possible division by zero if a server sends us a broken optionPeter Hessler
2011-04-09We are incorrectly processing option 33 (static route), treatingKenneth R Westerback
2011-04-04route(8) has a -q option. No need for all this >/dev/null 2>&1Kenneth R Westerback
2011-04-04Align man page with current reality.Kenneth R Westerback