summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dispatch.c
AgeCommit message (Expand)AuthorFilesLines
2019-11-19Inform unwind about DNS servers it finds in leases.krw1-1/+4
2019-05-10Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>guenther1-2/+1
2019-02-16SSID/LLADDR/LINK_STATE_IS_UP changes must discard the previouskrw1-1/+3
2019-01-19Since dhclient no longer tries to clean up when exiting, there is nokrw1-29/+7
2019-01-19IMSG_HUP -> IMSG_RESTART. sendhup() -> sendrestart.krw1-7/+7
2019-01-19Drop pseudo-signal idiom. Rename INTERNALSIG to TERMINATE. Use RESTARTkrw1-4/+4
2019-01-19'quit' no longer holds signals, so strsignal(quit) is both pointlesskrw1-13/+6
2019-01-18Be consistent in explicitly testing memcmp() return values.krw1-2/+2
2019-01-05Simplify and clarify (i.e. shrink) code processingkrw1-21/+31
2019-01-05KNF nit.krw1-2/+2
2019-01-03The need for separate bpf and routing message buffers was eliminatedkrw1-1/+2
2018-12-27Rename routehandler() to routefd_handler() to make the code slightlykrw1-2/+2
2018-12-27Rename bfdesc to bpffd and packethandler() to bpffd_handler() to makekrw1-10/+10
2018-11-04No names in function prototypes. Spaces after commas inkrw1-2/+2
2018-11-02When reacting to SIGHUP, i.e. trying to restart, ignore incomingkrw1-2/+14
2018-04-24Make dhclient show imsg pipe poll error messages in debug output only.stsp1-4/+4
2018-02-28Now that log_debug() has been decyphered, replace DPRINTF() instanceskrw1-8/+8
2018-01-28Refactor and simplify the logic to select and invoke thekrw1-25/+11
2018-01-25Add DPRINTF() and use it to replace log_debug() statements insidekrw1-22/+8
2018-01-24Don't display the seconds until renewal. i.e. "em0: bound to 1.2.3.4krw1-2/+3
2017-09-20Fix some spacing. A couple of log_warx() -> log_warn() tokrw1-3/+3
2017-09-20Make log messages more informative by using thekrw1-9/+9
2017-09-20Remove stray %s/ifi->name from fatalx().krw1-3/+2
2017-09-19flush_unpriv_ibuf() is now used only once so nokrw1-6/+6
2017-09-17Create global 'log_procname' and set it to '<ifname>' orkrw1-21/+23
2017-09-14Strive to rationalize fatal[x]() usage andkrw1-2/+2
2017-08-31Don't delete v4 routes that are going to bekrw1-1/+2
2017-08-13Simplify HUP handling now that proper errorkrw1-8/+6
2017-08-12sig_atomic_t is not (necessarily) an int. Usekrw1-1/+2
2017-08-09Stop obsessively flushing the imsg connection. Justkrw1-3/+21
2017-08-09Add some additional poll() error checking. Remove checkskrw1-15/+30
2017-07-24Shuffle some declarations and functions into the onlykrw1-100/+1
2017-07-14Replace remaining "!var" expressions withkrw1-8/+8
2017-07-14bpf(4) *may* deliver more than one captured packet at a time. So whenkrw1-3/+6
2017-07-07Rename cons_options() to pack_options(), and do_packet() tokrw1-2/+69
2017-07-06cons_options() only needs to know a buffer and a length tokrw1-5/+42
2017-07-01Eliminate multiple socket openings/closings and passkrw1-11/+10
2017-06-29delete_addresses(), interface_status(), addressinuse(),krw1-5/+5
2017-06-27Nuke get_rdomain() and just snag the interface rdomain from the samekrw1-19/+5
2017-06-24Tweak handling of HUP and new LLADDR. Just use expose and use sighup()krw1-20/+11
2017-06-21Consistently use time(&var) idiom rather than tossing in a fewkrw1-4/+5
2017-06-19Various KNF nits.krw1-3/+3
2017-06-18Move the timeout information into struct interface_info withkrw1-18/+12
2017-06-18Convert last set_timeout() use to set_timeout_interval() andkrw1-11/+2
2017-06-14No need to be coy - call a "struct interface_info *" akrw1-10/+12
2017-06-14Move active, new, offered_leases, leases fromkrw1-3/+2
2017-05-28Elegant and reliable link status checking courtesy of mpi@.krw1-40/+22
2017-04-05Shuffle sendhup() into dispatch.c, the only place it is used.krw1-1/+24
2017-04-04Send a RTM_PROPOSAL to clear out other dhclient instances on startup.krw1-13/+9
2017-03-08Stray #endif w/o comment.krw1-2/+2