summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Collapse)Author
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.
2004-02-06more Knall & Rauch -> ANSI C, KNF and stuff that makes this a bit moreHenning Brauer
readable. no effect on the binary. From: Emil Mikulic <emikulic@dmr.ath.cx>
2004-02-05isours() returns a pointer and thus should be checked against NULL not 0Henning Brauer
From: Emil Mikulic <emikulic@dmr.ath.cx>
2004-02-05plug memory leak; PR3668 Emil Mikulic <emikulic@dmr.ath.cx>Henning Brauer
2004-02-04$OpenBSD$, teduHenning Brauer
2004-02-04more KNFHenning Brauer
2004-02-04unobfuscate varargs shitzHenning Brauer
2004-02-04asprintfHenning Brauer
2004-02-048579 lines of KNF, ANSO and zap-junk diff without the resulting binaryHenning Brauer
changing by a single byte. partly from theo
2004-01-26-we don't use SIOCGIFCONF any more, we use getifaddrs(). update comment.Henning Brauer
-we don't need the socket any more either; remove. ok deraadt@
2004-01-18this is where dhclient will start surgeryTheo de Raadt