summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
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
2018-12-28Join other daemons in assuming that a single read from a routingKenneth R Westerback
2018-12-27Rename ufdesc to udpfd to make the code slightly more intuitive.Kenneth R Westerback
2018-12-27Rename routehandler() to routefd_handler() to make the code slightlyKenneth R Westerback
2018-12-27Rename bfdesc to bpffd and packethandler() to bpffd_handler() to makeKenneth R Westerback
2018-12-27No need to return early when setting the tick stop.Kenneth R Westerback
2018-12-25No need for magic tick_msg(NULL,..) call toKenneth R Westerback
2018-12-24Always use log_getverbose() instead of sometimes checking OPT_VERBOSEKenneth R Westerback
2018-12-24tick_msg() needs to note that it has called go_daemon(), sinceKenneth R Westerback
2018-11-12Restart when SSID change is noted in RTM_80211INFO. Thus ensuringKenneth R Westerback
2018-11-11Sometimes autoindenting is too helpful.Kenneth R Westerback
2018-11-11As get_hw_address() is called early and unconditionally setsKenneth R Westerback
2018-11-10Use tick_msg(INT64_MAX) when LLADDR changes.Kenneth R Westerback
2018-11-10If tick_msg() is passed a start of INT64_MAX (a.k.a. the end of time)Kenneth R Westerback
2018-11-10Eliminate single use variables 'tickstop' that confuse ticking andKenneth R Westerback
2018-11-10Stop passing value+3 as the start time for tick_msg(). Just #defineKenneth R Westerback
2018-11-10The tick messages ("no link...", "no lease...") have had a hardKenneth R Westerback
2018-11-09Abstract a separate function to scan the list provided by getifaddrs()Kenneth R Westerback
2018-11-04Kill obsolete comment about the constraints imposed by the need toKenneth R Westerback
2018-11-04No names in function prototypes. Spaces after commas inKenneth R Westerback
2018-11-03No need to say 'restarting' twice when LLADDR is modified. Log "LLADDRKenneth R Westerback
2018-11-02When reacting to SIGHUP, i.e. trying to restart, ignore incomingKenneth R Westerback
2018-09-22Harmonize spacing after ellipses in displayed messages.Frederic Cambus
2018-08-13The iterator i is not the option code, but simply the index for thePatrick Wildt
2018-06-20dhclient.c r1.569 started writing some files before calling daemon(),Stuart Henderson
2018-06-03Fix previous by restoring inadvertantly deleted check forKenneth R Westerback
2018-05-23Some interfaces (e.g. cdce(4)) can't tell if they are connected. TheyKenneth R Westerback