summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2019-07-30Use AUTOCONF4 flag. Set the flag on startup. But if the flag isKenneth R Westerback
2019-07-24Return fd of -1 if take_charge() detects 'quit' being set toKenneth R Westerback
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-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-05-22Don't get & apply a new lease for an RTM_IFINFO that reports a changeKenneth R Westerback
2019-05-10Restart the protocol and get a new/renewed lease for any relevantKenneth R Westerback
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-20Do not accept dhclient.conf(5) "prepend" or "append" statements whenKenneth 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-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-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-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
2019-01-19'quit' is no longer set in a signal handler so it no longer needs toKenneth R Westerback
2019-01-18Move link state change test & check for new lladdr intoKenneth R Westerback
2019-01-18Ignore HUP signals. If you need to modify the running configurationKenneth R Westerback
2019-01-18Be consistent in explicitly testing memcmp() return values.Kenneth R Westerback
2019-01-17Split a long line that wandered into theKenneth R Westerback
2019-01-17Split a long line that wandered into theKenneth R Westerback
2019-01-17Move "link X -> Y" debug messages into insterface_state() whereKenneth R Westerback
2019-01-14Make apply_ignore_list(), set_default_hostname(),Kenneth R Westerback
2019-01-14Abstract allocation and initialization of config globalKenneth R Westerback
2019-01-14set_default_client_identifier() only needs theKenneth R Westerback
2019-01-14Check NULLness of ignore list inside apply_ignore_list() and notKenneth R Westerback
2019-01-13Abstract /etc/resolv.conf.tail reading out of main()Kenneth R Westerback
2019-01-13Shuffle apply_ignore_list(), set_default_client_identifier() andKenneth R Westerback
2019-01-10"AF_* values are *almost* always the correct choice, particularly withKenneth R Westerback
2019-01-09Use PF_ROUTE consistently rather than tossing inKenneth R Westerback
2019-01-03The need for separate bpf and routing message buffers was eliminatedKenneth R Westerback