summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
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
2011-04-04Stray '$medium' missed in last commit.Kenneth R Westerback
2011-04-04Dump some useless calls to dhclient-script. i.e. MEDIUM, PREINIT,Kenneth R Westerback
2011-03-27Fix interval handling. Start at initial_interval instead ofKenneth R Westerback
2011-03-27new sentence, new line;Jason McIntyre
2011-03-26Correct described default for initial-interval. It is three, notKenneth R Westerback
2011-03-02no need for a separate NOTES section; ok henningJason McIntyre
2010-10-23make sure an interface is registered before we start using itPeter Hessler
2010-10-15Add and ignore DHCP option 66/0x42 TFTP server name.Jonathan Gray
2010-10-08use the right capitalization in the Nd strings.Igor Sobrado
2010-09-24Make it possible to use "dhclient egress" to refetch a lease withoutClaudio Jeker
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-07-02garbage collect an unused function; ok claudioTheo de Raadt
2010-06-26malloc/strlcpy -> strdup. Apparently I forgot to commit this one withKenneth R Westerback
2010-06-26Whitespace.Kenneth R Westerback