summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
AgeCommit message (Expand)Author
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
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2017-01-23Keep socket open from startup, and reuse for SIOCGIFFLAGS later on,Theo de Raadt
2016-10-06Add support for RFC 6842, which says the client MUST drop packets whenKenneth R Westerback
2016-09-29'ifname' --> 'ifi->name' so DEBUG compiles again.Kenneth R Westerback
2016-09-02Kill 'ifi' global.Martin Pieuchot
2016-08-31Remove the 'client' global and make it per-ifp.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
2016-07-21Use explicit idiom when testing the result of strcmp() and strncmp().Kenneth R Westerback
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-12-19Delete superfluous "continue;" just before end of loop.Kenneth R Westerback