summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2017-03-26Fix dhclient vis/unvis of strings stored in the leases file.Kenneth R Westerback
2017-03-21From a syslog perspective it does not make sense to log fatal andAlexander Bluhm
2017-03-08Shuffle, shuffle, shuffle.Kenneth R Westerback
2017-03-08Shuffle, shuffle, shuffle.Kenneth R Westerback
2017-03-08Shuffle, shuffle, shuffle.Kenneth R Westerback
2017-03-08Shuffle another bit of code closer to its friends.Kenneth R Westerback
2017-03-08Stray #endif w/o comment.Kenneth R Westerback
2017-03-08Move a line of code to group together code that will be mediatedKenneth R Westerback
2017-03-08Move ROUNDUP() to top of file, outside of warring #ifdef's to come.Kenneth R Westerback
2017-03-08Shuffle some functions around to group together functions that willKenneth R Westerback
2017-03-08Split a declaration to make the later insertion of #ifdef easier.Kenneth R Westerback
2017-03-08Shuffle some declarations. Both more style(9)'ish and make future diffKenneth R Westerback
2017-03-08Add comments to #endif's to allow easy differentiation between manyKenneth R Westerback
2017-02-15Use new log.[ch] functions in parse_warn().Kenneth R Westerback
2017-02-15Adopt the common verbiage other log.[ch] daemons use to describe '-d'.Kenneth R Westerback
2017-02-14fatalx() prepends 'fatal in _progname:'. So eliminate redundantKenneth R Westerback
2017-02-12Eliminate most strerror() invocations by using log_warn() and fatal()Kenneth R Westerback
2017-02-12Adjust lines that are too long.Kenneth R Westerback
2017-02-12Remove now unused file.Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2017-02-11Move parse_warning() into parse.c to prepare to replace errwarn.cKenneth R Westerback
2017-02-02grammar fix; from tinkerJason McIntyre
2017-01-23Keep socket open from startup, and reuse for SIOCGIFFLAGS later on,Theo de Raadt
2016-11-25Nuke the DHO_ROUTERS and DHO_STATIC_ROUTES options from the effectiveKenneth R Westerback
2016-10-06Add support for RFC 6842, which says the client MUST drop packets whenKenneth R Westerback
2016-09-30Zap stray whitespace.Kenneth R Westerback
2016-09-29Don't record non-existant client identifier in lease file.Kenneth R Westerback
2016-09-29'ifname' --> 'ifi->name' so DEBUG compiles again.Kenneth R Westerback
2016-09-27Reintroduce rdaemon() - working properly this timeJeremie Courreges-Anglas
2016-09-16Revert use of rdaemon() until it doesn't break install/upgrade.Kenneth R Westerback
2016-09-15Use rdaemon() in dhclient too.Jeremie Courreges-Anglas
2016-09-04Use 'daemonize' instead of 'no_daemon', just like in dhcpd and dhcrelay.Jeremie Courreges-Anglas
2016-09-02Kill 'ifi' global.Martin Pieuchot
2016-09-02Treat backoff_cutoff as a hard cutoff, not the midpoint in a rangeKenneth R Westerback
2016-09-01tweak previous;Jason McIntyre
2016-09-01Document new default timeouts/intervals.Kenneth R Westerback
2016-09-01Cut back the default values for the various timeout/interval values. We noKenneth R Westerback
2016-09-01Informative comments describing the various timing fields (initial_interval,Kenneth R Westerback
2016-08-31REQUEST packets are not just sent when an interface reboots. So don't shortKenneth R Westerback
2016-08-31Use reboot_timeout (default: 1) instead of initial_interval (default: 3) whenKenneth R Westerback
2016-08-31Remove the 'client' global and make it per-ifp.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
2016-08-16Track SSID in leases file and only consider leases from the current SSID whenKenneth R Westerback
2016-07-31Ask for DHO_BOOTFILE_NAME and DHO_TFTP_SERVER by default. May proveKenneth R Westerback
2016-07-23Back out the dhclient BPF change. There are DHCP servers out there whichStefan Sperling
2016-07-22Actually DECLINE and delete unused offers. Don't just say so in a comment.Kenneth R Westerback
2016-07-21Use explicit idiom when testing the result of strcmp() and strncmp().Kenneth R Westerback
2016-07-20Shrink priv_write_file() API so that it does less, and the callers askTheo de Raadt
2016-07-20As a general rule, fchown before fchmod is a safer order (because manyTheo de Raadt
2016-07-19Narrow the BPF read filter rules so only packets sent to theKenneth R Westerback