summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2017-06-23Use a const char * for "/etc/resolv.conf.tail" instead of repeating theKenneth R Westerback
2017-06-23Take reyk's imsg resolv.conf improvements of a while ago to theirKenneth R Westerback
2017-06-22Drop support for old (>4yr) timestamp formats in leasesKenneth R Westerback
2017-06-21Teach get_recorded_lease() that static leases do notKenneth R Westerback
2017-06-21No need to manually check validity of ifi->active whenKenneth R Westerback
2017-06-21Consistently use time(&var) idiom rather than tossing in a fewKenneth R Westerback
2017-06-21Allow familiar idiom free_client_lease(NULL).Kenneth R Westerback
2017-06-19Various KNF nits.Kenneth R Westerback
2017-06-19Erroneous host names in various options should be ignoredKenneth R Westerback
2017-06-18Move the timeout information into struct interface_info withKenneth R Westerback
2017-06-18Convert last set_timeout() use to set_timeout_interval() andKenneth R Westerback
2017-06-18Drop (int) casts of (time_t - time_t) calculations thatKenneth R Westerback
2017-06-18Nuke stray and misleading comment.Kenneth R Westerback
2017-06-18Make 'DEBUG' compile again.Kenneth R Westerback
2017-06-18Nuke unused pointer to non-existant struct.Kenneth R Westerback
2017-06-17Shuffle dhcp[offer|ack|nak]() functions together for easy reference.Kenneth R Westerback
2017-06-17Rename struct interface_info field 'new' to clearer 'offer'.Kenneth R Westerback
2017-06-17We accept either the first offer received, or an offer for theKenneth R Westerback
2017-06-17DECLINE offers as they are deemed invalid. Decline them at theKenneth R Westerback
2017-06-16Nuke 'is_bootp' field and just use a #define to check if the leaseKenneth R Westerback
2017-06-15Nuke unused parameter 'client_addr' from the 'handlers', i.e.Kenneth R Westerback
2017-06-15Nuke unused parameter 'client_addr' from packet_to_lease().Kenneth R Westerback
2017-06-14No need to be coy - call a "struct interface_info *" aKenneth R Westerback
2017-06-14Move active, new, offered_leases, leases fromKenneth R Westerback
2017-06-14Move state, destination, interval, requested_address fromKenneth R Westerback
2017-06-14Move xid, secs, first_sending, startup_time fields fromKenneth R Westerback
2017-06-14Start consolidating client_state into interface_info. FirstKenneth R Westerback
2017-06-14No need for two 'flags' fields. Consolidate into one, fixingKenneth R Westerback
2017-06-13Kill unused #define IFI_NOMEDIA.Kenneth R Westerback
2017-06-13Rename 'packet' field to 'recv_packet' and 'bootrequest_packet'Kenneth R Westerback
2017-06-10Nuke unused field bootp_policy and associated enum{}.Kenneth R Westerback
2017-06-10Nuke unused global warnings_occurred.Kenneth R Westerback
2017-05-28Elegant and reliable link status checking courtesy of mpi@.Kenneth R Westerback
2017-05-26Move logic to set default client-identifier into aKenneth R Westerback
2017-05-26Whitespace rectification of a couple of mis-indentations.Kenneth R Westerback
2017-05-26Move the two loops through the leases fileKenneth R Westerback
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
2017-04-18Tweak parameters to decode_*, add a check or two, and thus gain most of theKenneth R Westerback
2017-04-18After 11 years of pondering about it I think that brookdavis@freebsd.orgKenneth R Westerback
2017-04-12RTM_PROTO3 messages should not trigger a resolv.conf check.Kenneth R Westerback
2017-04-12Shuffle another function.Kenneth R Westerback
2017-04-11Shuffle route/interface changing functions together into kroute.c. Try toKenneth R Westerback
2017-04-11Fold priv_write_file() into its only remaining userKenneth R Westerback
2017-04-10Rework -L logic to use the idiom used in handling the leases file.Kenneth R Westerback
2017-04-09Seven casts, a couple of tweaks and CFLAGS+=-Wsign-compare for theKenneth R Westerback
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingKenneth R Westerback
2017-04-08Replace another snprintf() dance with easier to read code usingKenneth R Westerback
2017-04-08Replace a mess of snprintf() dances with easier to read code usingKenneth R Westerback
2017-04-07Simply decoding of domain search option. No intentional functionalKenneth R Westerback
2017-04-06Inspired by recent dhcrelay(8) changes add some stricter CFLAGS. No codeKenneth R Westerback