summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2019-01-05Simplify and clarify (i.e. shrink) code processingKenneth R Westerback
2019-01-05KNF nit.Kenneth 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-12-08ssize_t and unsigned int may be different sizes. Use ssize_t insteadKenneth 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-07-22No need to re-implement realloc(). Just use itKenneth R Westerback
2018-07-22Tweak comment about truncating NULs to reflect newKenneth R Westerback
2018-07-22When finished pulling an option out of a buffer, skip directly to theKenneth R Westerback
2018-07-21Reading past the end of a buffer is bad, Even if theKenneth R Westerback
2018-07-04Print the amount of bytes written, as intended, instead of -1 whenMartin Pieuchot
2018-06-20dhclient.c r1.569 started writing some files before calling daemon(),Stuart Henderson
2018-06-13Add a cloning direct route to the default route gateway when theKenneth R Westerback
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
2018-05-19Add '-r', which causes running dhclient to releaseKenneth R Westerback
2018-05-17Any IPv4 address change could alter which interface has the activeKenneth R Westerback
2018-05-16Always record the client identifier used to obtain a lease. ServersKenneth R Westerback
2018-05-12Document current behaviour of 'ignore' directive and 'append',Kenneth R Westerback
2018-05-11Write out updated dhclient.leases.<if>, /etc/resolv.conf and any -LKenneth R Westerback
2018-04-24Make dhclient show imsg pipe poll error messages in debug output only.Stefan Sperling
2018-03-31The rarely used '-L' option does not need a PATH_MAX staticKenneth R Westerback
2018-03-31Fix '-i' to discard previously defined values for the options to beKenneth R Westerback
2018-03-31Move 'require' declaration into 'DHCP Options' sectionKenneth R Westerback
2018-03-20pretty_print_option() returns a pointer to a 0 length string, notKenneth R Westerback
2018-02-28Now that log_debug() has been decyphered, replace DPRINTF() instancesKenneth R Westerback
2018-02-27Typo: 'tftp-server' -> 'tftp-server-name'.Kenneth R Westerback
2018-02-11Ooops. After getting a NAK in response to a renewal REQUEST, we deleteKenneth R Westerback
2018-02-11Make "invalid host name" messages log_debug() since the invalid hostKenneth R Westerback