summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2014-12-10Reusing the same field for different things in different contexts mayKenneth R Westerback
2014-12-10The consensus is that RTM_IFINFO messages do not always carry theKenneth R Westerback
2014-12-09Move the initial link status check and possible forceup back beforeKenneth R Westerback
2014-12-08Try harder to avoid displaying "no link ... got link" when initialKenneth R Westerback
2014-12-07Do not move from S_PREBOOT to S_REBOOT just because link_timeoutKenneth R Westerback
2014-12-07Ensure we grab the interface LLADDR as soon as the link state isKenneth R Westerback
2014-12-07Retract check for IFF_RUNNING when checking for link state. At leastKenneth R Westerback
2014-12-05Move initial wait for network link into the state machine by addingKenneth R Westerback
2014-12-03Correct comment to state that the BPF program is patched inKenneth R Westerback
2014-11-30Don't check for hardware address change unless link was up. DelayKenneth R Westerback
2014-11-29Explicitly initialize client->state to S_REBOOTING rather thanKenneth R Westerback
2014-11-27Use if_nametoindex() to get the interface index, and thereby checkKenneth R Westerback
2014-11-26Reset ifi->errors after a successful receive_packet(), rather thanKenneth R Westerback
2014-11-26'ifi' is successfully calloc'd during initialization or dhclientKenneth R Westerback
2014-11-26Rename 'got_one()' to 'packethandler()'.Kenneth R Westerback
2014-11-25r1.118 starting using LINK_STATE_IS_UP() to check the link statusKenneth R Westerback
2014-11-23Rename discover_interface() to more meaningful get_hw_address().Kenneth R Westerback
2014-11-23Cleanup some struct interface_info fields. Make 'nomedia' a flag. ReplaceKenneth R Westerback
2014-11-20A little too agressive reordering. Must initialize the client structKenneth R Westerback
2014-11-17Further juggle startup code, putting config file reading after forkingKenneth R Westerback
2014-11-16Move some memory allocations/initialization and file reading toKenneth R Westerback
2014-11-16Read your compiler output even when it succeeds. Add missing variable toKenneth R Westerback
2014-11-15Make -q (quiet) and -d (don't daemonize) options mutually exclusive.Kenneth R Westerback
2014-11-13Tweak some comments and error messages. Put all "I can't handleKenneth R Westerback
2014-11-08Use open(O_CLOEXEC) rather than open() + fcntl(FD_CLOEXEC). InspiredKenneth R Westerback
2014-11-08Exhort user to recompile 'dhclient', not 'dhcpd', when bpf versions areKenneth R Westerback
2014-11-04Of the 14 occurances of free_client_lease() only 2 deal with leasesKenneth R Westerback
2014-11-04Instead of correcting things after the fact, use SOCK_NONBLOCK and SOCK_CLOEXECPhilip Guenther
2014-11-03Don't leak static leases when the 'lease {}' parsing fails or one staticKenneth R Westerback
2014-11-03No need to immediately remove an expired lease from the list ofKenneth R Westerback
2014-11-02Pesky whitespace and spurious parenthesis.Kenneth R Westerback
2014-11-01And finally move convert.c to the attic.Kenneth R Westerback
2014-11-01Unhook convert.c. It's empty but for the license text.Kenneth R Westerback
2014-11-01Try to ensure that the various lease timeouts are sane. i.e., renewKenneth R Westerback
2014-10-29Calling a function to htonl() a constant 32-bit value into a stackKenneth R Westerback
2014-10-27Compare with/use UINT16_MAX rather than 65535. Less magic is more.Kenneth R Westerback
2014-10-27Nuke getLong(), getShort(), getUShort(). Two line functions (memcpy();Kenneth R Westerback
2014-10-27htonl(ntohl(memcpy'd buf)) seems like the long way around to copyKenneth R Westerback
2014-10-27Zap extraneous whitespace and a stuttered extra 'break;'.Kenneth R Westerback
2014-10-26Allow the current lease to expire without causing dhclient to segKenneth R Westerback
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-10-17Nuke 'increase' which was always set to 1. Replace the if/else that testedKenneth R Westerback
2014-10-02dhclient: add support for RFC 3442 local subnet routesMatthew Dempsky
2014-08-11When parsing 32 bit values, verify that we received 4 bytes.Tobias Stoeckmann
2014-07-28Fix memory exhaustion occurring on DHCP options with 0 length.Tobias Stoeckmann
2014-07-28merge dhcpd's packet.c revision 1.7:Tobias Stoeckmann
2014-07-14Make sure to correctly exit the loop in priv_flush_routes() in case ofMiod Vallat
2014-07-13When renewing a lease, update client->active or you end up in aKenneth R Westerback
2014-07-12Log a warning whenever RTM_DESYNC is seen. Thus giving entrailKenneth R Westerback
2014-07-12Bring back resolv.conf write reduction. Race was something else.Kenneth R Westerback