summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2012-11-02Don't add a 'nameserver' line to resolv.conf if the nameserver inKenneth 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-27Change dhclient.conf directive 'ignore' to take a list of option namesKenneth R Westerback
2012-10-10Revert r1.155. Routing breaks if dhclient-script flushes theKenneth 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-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-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-18Update global cur_time after exiting poll() and before calling theKenneth R Westerback
2012-07-09Terminate with extreme prejudice the multiple timeout queuingKenneth R Westerback
2012-06-24Nuke interface_link_status() (check media status only) and useKenneth 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
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-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
2010-10-15Add and ignore DHCP option 66/0x42 TFTP server name.Jonathan Gray
2010-09-24Make it possible to use "dhclient egress" to refetch a lease withoutClaudio Jeker
2010-06-26Whitespace.Kenneth R Westerback
2010-06-02Have dhclient obey the interface's rdomain, instead of doing routes onPeter Hessler
2010-03-25be more strict in check_option().Kevin Steves
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-03remove unneeded ARGSUSED; ok krw@ henning@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-01Let this compile with gcc2.Miod Vallat
2009-01-28use claudios new rtsocket filters to restrict which messages on the routeDavid Gwynne
2009-01-10Use the kernel set ifam_hdrlen so that ABI changes won't cause olderClaudio Jeker
2008-06-07stop spurious "got link" which nooone noticed, but everyone should have; ok krwTheo de Raadt
2008-05-26If an interface has no link at startup, try to force it up, and thenTheo de Raadt
2008-05-09- don't give up when the link is not available on startup: dhclientReyk Floeter
2008-03-12Code was not passing script exit status; fix with macro.Hugh Graham
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-14make default_lease_time a #define; ok krw@ henning@Kevin Steves