summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Collapse)Author
2004-03-05remove even more gooTheo de Raadt
2004-03-02more pruning; henning okTheo de Raadt
2004-03-02use daemon(3) instead of homebrown gunkHenning Brauer
2004-03-02zap unused and empty functions and some glorious very much needed commentsHenning Brauer
that explain us that "if (foo > 255) { error() } " ensures that foo is not bigger than 255
2004-03-02zap interface flagsHenning Brauer
2004-03-02use arc4random(), markus okHenning Brauer
2004-03-02we deal with one interface at a time, so remove the interface list gunk.Henning Brauer
2004-03-02if our interface vanishes (pcmcia and such), exit.Henning Brauer
fixes PR3648, test & ok pb
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
quiet_interface_discovery flag any more
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
this one onterface as parameter to discove_interfaces and get rid of quite some of the multiple-interface-discover logic
2004-03-02do not record all these interfaces we don't care aboutHenning Brauer
2004-02-25doesn't quite make sense to have a wrapper to a wrapper to the incredibleHenning Brauer
amount of ~ 20 lines of code in their own file... and another one bites the dust
2004-02-24not usedHenning Brauer
2004-02-24whack unused token ring code and a few empty functionsHenning Brauer
2004-02-24zap more unused crapHenning Brauer
2004-02-24bye byeHenning Brauer
2004-02-24get rid of tons of structs we never use, a lot of new_someotherjunk functionsHenning Brauer
in alloc.c we never call, and a shitload of genius comments like char *script_name; /* name of script */ char *server_name; /* name of server */ etc etc etc...
2004-02-24discover_interfaces doesn't run in multiple modes any more - kill unreachableHenning Brauer
code, partitally server-only
2004-02-24kill debug crapHenning Brauer
2004-02-24remove dynamic port gunkHenning Brauer
2004-02-24cut unreachable codeHenning Brauer
2004-02-24cut more crap - no binary changeHenning Brauer
2004-02-24kill pidfile gunkHenning Brauer
2004-02-24teach dhclient about another invention of the last century: getopt(3)Henning Brauer
also fix usage() that was a big lie pb sez ok
2004-02-24remove ill-advised interface discovery-scan, and require an interface to beHenning Brauer
always given. theo agrees with removal, pb ok
2004-02-24cut debug crapHenning Brauer
2004-02-23goodbye VOIDPTRHenning Brauer
2004-02-23scratch the PTRSIZE64 define, the gunk that was using it was in some of theHenning Brauer
files killed in the last hour
2004-02-23remove time_t related crud; henning okTheo de Raadt
2004-02-23remove prototypes we don't implementHenning Brauer
2004-02-23not used not neededHenning Brauer
2004-02-23remove allocation/storage/search code for subnets, shared networks, andHenning Brauer
leases - it is server-only code.
2004-02-23-sparc64 is always 64bit on openbsdHenning Brauer
-add amd64
2004-02-23scrap dead codeHenning Brauer
2004-02-23no token ringHenning Brauer
2004-02-23remove a bunch of unused definesHenning Brauer
2004-02-23dhclient always uses bpf on openbsd no matter what, it works, and we don'tHenning Brauer
need to fallback to their raw socket code suddenly dhclient is so fast... pb tested and sez ok
2004-02-14lotsa KNF, no binary changeHenning Brauer
2004-02-10at startup, before sending several DHCPDISCOVER and waiting ages for answers,Henning Brauer
check the link state of the interface(s) in question and don't try on intrfaces that for sure have no link. interfaces with unknown linkstates are treated as if they had a link, not all drivers are capable of reporting linkstate upstream, and for some media there is no such thing as a link state. saves quite sme time when booting notebooks configured for dhcp without teh cable inserted... note that this is the not yet active copy of dhclient ok grange@ mcbride@ pb@ naddy@
2004-02-08fix preprocessor syntax; ok henning@Christian Weisgerber
2004-02-07it's a little sad that this beast has only one asprintf, and that oneHenning Brauer
just mimics a strdup... so make it a strdup. spotted by theo
2004-02-07some pretty. ok henningTed Unangst
2004-02-07shut it up a bit moreHenning Brauer
2004-02-07zap stupid messageHenning Brauer
2004-02-07KNFHenning Brauer
2004-02-07more KNF From: Emil Mikulic <emikulic@dmr.ath.cx>Henning Brauer
great job. no binary change.
2004-02-07whitespace policeHenning Brauer
2004-02-07more style fixes from Emil Mikulic <emikulic@dmr.ath.cx>Henning Brauer
Thank you very much for this excellent work, it helps a lot. binary unchanged. I am still convinced dhclient can be made readable.