summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
AgeCommit message (Expand)Author
2019-01-19Since dhclient no longer tries to clean up when exiting, there is noKenneth R Westerback
2019-01-19IMSG_HUP -> IMSG_RESTART. sendhup() -> sendrestart.Kenneth 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-18Be consistent in explicitly testing memcmp() return values.Kenneth R Westerback
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-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-11-04No names in function prototypes. Spaces after commas inKenneth R Westerback
2018-11-02When reacting to SIGHUP, i.e. trying to restart, ignore incomingKenneth R Westerback
2018-04-24Make dhclient show imsg pipe poll error messages in debug output only.Stefan Sperling
2018-02-28Now that log_debug() has been decyphered, replace DPRINTF() instancesKenneth R Westerback
2018-01-28Refactor and simplify the logic to select and invoke theKenneth R Westerback
2018-01-25Add DPRINTF() and use it to replace log_debug() statements insideKenneth R Westerback
2018-01-24Don't display the seconds until renewal. i.e. "em0: bound to 1.2.3.4Kenneth R Westerback
2017-09-20Fix some spacing. A couple of log_warx() -> log_warn() toKenneth R Westerback
2017-09-20Make log messages more informative by using theKenneth R Westerback
2017-09-20Remove stray %s/ifi->name from fatalx().Kenneth R Westerback
2017-09-19flush_unpriv_ibuf() is now used only once so noKenneth R Westerback
2017-09-17Create global 'log_procname' and set it to '<ifname>' orKenneth R Westerback
2017-09-14Strive to rationalize fatal[x]() usage andKenneth R Westerback
2017-08-31Don't delete v4 routes that are going to beKenneth R Westerback
2017-08-13Simplify HUP handling now that proper errorKenneth R Westerback
2017-08-12sig_atomic_t is not (necessarily) an int. UseKenneth R Westerback
2017-08-09Stop obsessively flushing the imsg connection. JustKenneth R Westerback
2017-08-09Add some additional poll() error checking. Remove checksKenneth R Westerback
2017-07-24Shuffle some declarations and functions into the onlyKenneth R Westerback
2017-07-14Replace remaining "!var" expressions withKenneth R Westerback
2017-07-14bpf(4) *may* deliver more than one captured packet at a time. So whenKenneth R Westerback
2017-07-07Rename cons_options() to pack_options(), and do_packet() toKenneth R Westerback
2017-07-06cons_options() only needs to know a buffer and a length toKenneth R Westerback
2017-07-01Eliminate multiple socket openings/closings and passKenneth R Westerback
2017-06-29delete_addresses(), interface_status(), addressinuse(),Kenneth R Westerback
2017-06-27Nuke get_rdomain() and just snag the interface rdomain from the sameKenneth R Westerback
2017-06-24Tweak handling of HUP and new LLADDR. Just use expose and use sighup()Kenneth R Westerback
2017-06-21Consistently use time(&var) idiom rather than tossing in a fewKenneth R Westerback
2017-06-19Various KNF nits.Kenneth 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-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-05-28Elegant and reliable link status checking courtesy of mpi@.Kenneth R Westerback
2017-04-05Shuffle sendhup() into dispatch.c, the only place it is used.Kenneth R Westerback
2017-04-04Send a RTM_PROPOSAL to clear out other dhclient instances on startup.Kenneth R Westerback
2017-03-08Stray #endif w/o comment.Kenneth R Westerback
2017-02-14fatalx() prepends 'fatal in _progname:'. So eliminate redundantKenneth R Westerback
2017-02-12Eliminate most strerror() invocations by using log_warn() and fatal()Kenneth R Westerback
2017-02-12Adjust lines that are too long.Kenneth R Westerback