summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
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
2010-06-02Have dhclient obey the interface's rdomain, instead of doing routes onPeter Hessler
2010-04-04Add some ipv6 hooks the isc code expects for dhcpv6.Jonathan Gray
2010-03-25be more strict in check_option().Kevin Steves
2009-11-26Silence dhclient by immediately exiting if the interface doesn't existKenneth R Westerback
2009-11-12Make sure we have enough space for the trailing \0 on prepend/appendJonathan Gray
2009-07-19use addr_eq() where we can; ok krw@Kevin Steves
2009-06-12state_panic() tries the active then other valid leases by setting theKevin Steves
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
2009-06-03Use the new powerful route flush to clean up the mess. With this multipleClaudio Jeker
2009-06-03remove unneeded ARGSUSED; ok krw@ henning@Kevin Steves
2009-05-27add missing else; from ISC.Kevin Steves
2009-05-25log the reason before we die in routehandler(); ok krw@ henning@Kevin Steves
2009-05-20Do not fall back to using nobody if _user is missing, butThordur I. Bjornsson
2009-03-31claudio has spent too much time with the mbuf macros.David Gwynne
2009-03-10Add 6-byte MAC address to the log entries for DHCP ACK/NAK/OFFER.Kenneth R Westerback
2009-02-19'(ifi->linkstat && ifi && ifi->rfdesc != -1)' is flawed. Swap theKenneth R Westerback
2009-02-01Let this compile with gcc2.Miod Vallat
2009-01-28use claudios new rtsocket filters to restrict which messages on the routeDavid Gwynne
2009-01-24improve indentation without wasting space on the install media;Igor Sobrado
2009-01-24Improve comment about resolv.conf creation. Prodded by sobrado@.Kenneth R Westerback