summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
AgeCommit message (Expand)Author
2010-10-23make sure an interface is registered before we start using itPeter Hessler
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-07-02garbage collect an unused function; ok claudioTheo de Raadt
2010-06-02Have dhclient obey the interface's rdomain, instead of doing routes onPeter Hessler
2009-11-26Silence dhclient by immediately exiting if the interface doesn't existKenneth R Westerback
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
2009-02-19'(ifi->linkstat && ifi && ifi->rfdesc != -1)' is flawed. Swap theKenneth R Westerback
2008-05-26If an interface has no link at startup, try to force it up, and thenTheo de Raadt
2008-05-09- don't give up when the link is not available on startup: dhclientReyk Floeter
2007-11-12dont spew debug output when the SIOCGIFMEDIA ioctl errors with ENOTTY.David Gwynne
2007-02-14use errwarn functions vs. syslog(); ok henning@ krw@Kevin Steves
2007-01-27We only poll on the bpf fd and the routing socket fd. No need forKenneth R Westerback
2007-01-11Since bootp_packet_handler is always set to do_packet before weKenneth R Westerback
2007-01-04Another round of cleanup. There is only one instance of structKenneth R Westerback
2006-12-26Our dhclient only handles one interface. Simplify code by using theKenneth R Westerback
2006-08-29snuck in a typo, damnitTheo de Raadt
2006-08-29some net if devices do not media negotiate (for link) until brought up.Theo de Raadt
2005-05-24no more 'ifconfig $if 0.0.0.0 up' only 'ifconfig $if up' since dhclientTodd T. Fries
2004-09-21spelling fixes; ok jmc@ henning@David Krause
2004-09-15no \n in error() calls and minor KNF, from Moritz Jodeit <moritz@jodeit.org>Henning Brauer
2004-06-22handle interface removals in the poll loop. ok henning@Can Erkin Acar
2004-05-05knfTheo de Raadt
2004-05-04do not overload libc function names causing linker troublesMichael Shalayeff
2004-05-04knfTheo de Raadt
2004-05-04remove things not used, spotted by lint mostly; ok henningTheo de Raadt
2004-05-04more shrink and lint fixes; henning okTheo de Raadt
2004-04-07fix a logic botch in discover_interfaces that prevented dhclient to seeHenning Brauer
2004-03-02more pruning; henning okTheo de Raadt
2004-03-02we deal with one interface at a time, so remove the interface list gunk.Henning Brauer
2004-03-02remove dummy_interfaces and fallback_interface gunkHenning Brauer
2004-03-02our interface discovery is so quiet now (nonexistant) that we don't need aHenning Brauer
2004-03-02mixing memcpy and bcopy in the same function is highly confusingHenning Brauer
2004-03-02since we're dealing with one interface and not quite a few ones we can giveHenning Brauer
2004-03-02do not record all these interfaces we don't care aboutHenning Brauer
2004-02-24whack unused token ring code and a few empty functionsHenning Brauer
2004-02-24get rid of tons of structs we never use, a lot of new_someotherjunk functionsHenning Brauer
2004-02-24discover_interfaces doesn't run in multiple modes any more - kill unreachableHenning Brauer
2004-02-24remove ill-advised interface discovery-scan, and require an interface to beHenning Brauer
2004-02-23remove time_t related crud; henning okTheo de Raadt
2004-02-23remove allocation/storage/search code for subnets, shared networks, andHenning Brauer
2004-02-23scrap dead codeHenning Brauer
2004-02-23dhclient always uses bpf on openbsd no matter what, it works, and we don'tHenning Brauer
2004-02-10at startup, before sending several DHCPDISCOVER and waiting ages for answers,Henning Brauer
2004-02-07whitespace policeHenning Brauer
2004-02-07more style fixes from Emil Mikulic <emikulic@dmr.ath.cx>Henning Brauer
2004-02-04$OpenBSD$, teduHenning Brauer
2004-02-048579 lines of KNF, ANSO and zap-junk diff without the resulting binaryHenning Brauer
2004-01-26-we don't use SIOCGIFCONF any more, we use getifaddrs(). update comment.Henning Brauer
2004-01-18this is where dhclient will start surgeryTheo de Raadt