summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2019-07-19Nuke a bunch of 'name' parameters that haven't been used sinceKenneth R Westerback
2019-07-19Keep dhclient.leases.<if> O_EXLOCK file descriptor open for theKenneth R Westerback
2019-07-16Shuffle code a bit to make take_charge() return theKenneth R Westerback
2019-07-15Nuke '-l' command line option (alternate location forKenneth R Westerback
2019-07-11The privileged process of dhclient(8) runs several ioctl(2)s that are forbiddenRicardo Mestre
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-07-01Nuke unused variable 'retries'.Kenneth R Westerback
2019-07-01Simplify and clarify logic in take_charge().Kenneth R Westerback
2019-06-30getifaddrs() returns -1.Kenneth R Westerback
2019-06-30No need to check if leaseFile is NULL in write_lease_db() as it isKenneth R Westerback
2019-06-29write_lease_db() only needs ifi->name and ifi->lease_db.Kenneth R Westerback
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-22Swap (opcount >= opleft || opcount == -1) to (opcount == -1 || opcount >= opl...Kenneth R Westerback
2019-05-22Don't get & apply a new lease for an RTM_IFINFO that reports a changeKenneth R Westerback
2019-05-17Don't put dhclient into a loop when interface-mtu is presentKenneth R Westerback
2019-05-10Restart the protocol and get a new/renewed lease for any relevantKenneth R Westerback
2019-05-10Make it possible to switch between wireless and physical interfacsSebastian Benoit
2019-05-10Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>Philip Guenther
2019-04-06Don't mangle command line arguments with strsep(). MangleKenneth R Westerback
2019-04-03Take the length of an initialized string, not aKenneth R Westerback
2019-04-02Add human readable parsing/display of RFC1035 data in domain-searchKenneth R Westerback
2019-03-22Revert parts of recent changes to pretty_print_domain_search(). PartsKenneth R Westerback
2019-03-21punctuation needs to be preceeded by a space, in Scots;Jason McIntyre
2019-03-21Clarify verbiage. If we could just write it in Scots thenKenneth R Westerback
2019-03-21Simplify merge_option_data() with strpbrk().Kenneth R Westerback
2019-03-20Do not accept dhclient.conf(5) "prepend" or "append" statements whenKenneth R Westerback
2019-03-19Parsing error messages display only the first 80 characters of theKenneth R Westerback
2019-03-19Nuke a couple of XXX comments.Kenneth R Westerback
2019-03-18Use same idiom for pretty_print_domain_search() andKenneth R Westerback
2019-03-18Add a couple of checks to ensure option data fits into the proposalKenneth R Westerback
2019-03-18explicitly use BPF_FILDROP_CAPTURE when configuring BIOCSFILDROPDavid Gwynne
2019-02-26add domain-search to the list of options capable of adding to resolv.conf;Jason McIntyre
2019-02-23Correct comment on delete_addresses() return value.Kenneth R Westerback
2019-02-23Restore pre-a2k19 behaviour of clearing out all existing addressesKenneth R Westerback
2019-02-16SSID/LLADDR/LINK_STATE_IS_UP changes must discard the previousKenneth R Westerback
2019-02-13Nuke unused variable.Kenneth R Westerback
2019-02-13Try harder to start a new line when link is obtained and a newKenneth R Westerback
2019-02-12Restructure code to simplifiy imsg communications, further separatingKenneth R Westerback
2019-01-26Rename ACTION_NONE to ACTION_USELEASE. TOK_NOACTION to TOK_USELEASE.Kenneth R Westerback
2019-01-26Zap trailing space that stuck its head up.Kenneth R Westerback
2019-01-26Add 'uselease' statement to allow the disabling of built-in orKenneth R Westerback
2019-01-22Simply the logic translating 'egress' into an interface name.Kenneth R Westerback
2019-01-21Allocate buffer before using it.Kenneth R Westerback
2019-01-21Typo. "nterface" -> "interface"Kenneth R Westerback
2019-01-20Don't delay signal(SIGPIPE, SIG_IGN) until go_daemon() does it. First,Kenneth R Westerback
2019-01-19Since there is no more exec()'ing, there is no need toKenneth R Westerback
2019-01-19Since dhclient no longer tries to clean up when exiting, there is noKenneth R Westerback
2019-01-19IMSG_HUP -> IMSG_RESTART. sendhup() -> sendrestart.Kenneth R Westerback
2019-01-19Drop pseudo-signal idiom. Rename INTERNALSIG to TERMINATE. Use RESTARTKenneth R Westerback
2019-01-19'quit' no longer holds signals, so strsignal(quit) is both pointlessKenneth R Westerback