summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2015-11-12When link loss is reported, cancel any active timeout and wait forKenneth R Westerback
2015-10-26Give dhclient(8) the ability to use option 119, a.k.a. "DomainKenneth R Westerback
2015-09-08Correct strsep() usage to free() correct string. Spotted by andKenneth R Westerback
2015-09-05Some whitespace bulking out a diff unnecessarily.Kenneth R Westerback
2015-08-31Support deviant but historically blessed practice of acceptingKenneth R Westerback
2015-08-19Missing prototypes. Noted by deraadt@Kenneth R Westerback
2015-05-18Tweak parsing so that hostnames starting with 0-9 are accepted.Kenneth R Westerback
2015-05-18Stop rejecting leases with a subnet that overlaps a subnet alreadyKenneth R Westerback
2015-05-02Hoist common assignments out of a series of if/if-else statementsKenneth R Westerback
2015-05-02Correct switch between current and previous line buffers whenKenneth R Westerback
2015-04-16Tweak error output.Gleydson Soares
2015-02-15convert bcmp to memcmpTed Unangst
2015-02-10Groundwork for better route support over multiple interfaces byKenneth R Westerback
2015-02-08Get rid of a bunch of memset()'s where struct variables and arraysKenneth R Westerback
2015-02-07Add support for interface-mtu (option 26).Kenneth R Westerback
2015-02-07GC unused parameters now that ifname and rdomain are not used inKenneth R Westerback
2015-02-06The write_file() privsep interface was too permissive andReyk Floeter
2015-02-06matthew@ points out that it's a bad idea to rely on the non-privileged,Kenneth R Westerback
2015-02-06Don't let errors leak the memory returned by getifaddrs().Kenneth R Westerback
2015-02-05Use sizeof(struct X) rather than sizeof(*p) in calloc() invocations.Kenneth R Westerback
2015-02-01free(NULL) works, so stop checking for non-zero length allocationKenneth R Westerback
2015-01-31free(NULL) works, so stop checking for non-zero length allocationKenneth R Westerback
2015-01-31Don't leak the "access protected, zero sized object" returned byKenneth R Westerback
2015-01-31Set is_static to 0 before trying to free a lease. Otherwise itKenneth R Westerback
2015-01-31Always free(buf) if errmsg is set while trying to flush routes.Kenneth R Westerback
2015-01-30Don't leak incompletely cloned static lease. Should never happenKenneth R Westerback
2015-01-30Tweak error message to say 'realloc' since that's what's failing,Kenneth R Westerback
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
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