summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2006-12-28please lintTheo de Raadt
2006-12-28parenthesis not needed here; consistent with usage in other areas.Kevin Steves
2006-12-28small knf (extra space, newline)Kevin Steves
2006-12-28no extra "\n" in note(); ok krw@ henning@Kevin Steves
2006-12-27Since we only have the single global struct interface_info, weKenneth R Westerback
2006-12-26Our dhclient only handles one interface. Simplify code by using theKenneth R Westerback
2006-12-26There must be no alias address set, so check ifi->client->aliasMoritz Jodeit
2006-12-18this is clearer and consistent with other areas; ok henning@Kevin Steves
2006-12-17remove ASSERT_STATE() macro which is a NOOP, no binary change; ok henning@Kevin Steves
2006-12-15KNFKevin Steves
2006-11-27correct commentKevin Steves
2006-09-24No point in checking for a NULL ifi after we've used it. Plus ifi isKenneth R Westerback
2006-08-31adjust link detection further: if no link, bring interface up and checkTheo de Raadt
2006-08-29some net if devices do not media negotiate (for link) until brought up.Theo de Raadt
2006-06-16always change the working directory of the priv child to the rootReyk Floeter
2006-06-01Don't treat the addition of a dhclient.conf 'alias{}' address as anKenneth R Westerback
2006-05-31Fix 'special value 0 requests that dhclient not wait for a link stateKevin Steves
2006-05-08add 'link-timeout n' seconds option to grammer, from fkr@hazardous.orgTheo de Raadt
2006-03-06convert permanent privilege revocation to use setresuid/setresgid;Damien Miller
2005-10-26put the 100% right r1.79 back in, that is still as right as it was the firstHenning Brauer
2005-08-27backout unapproved diffTheo de Raadt
2005-08-25when we get an invalid hostname in an option, bitching a moaning is ok,Henning Brauer
2005-08-07Simplify code by calling error() from inside buf_* functions ratherKenneth R Westerback
2005-08-02Rip out code dealing with multiple/nested interfaces. Each instance ofKenneth R Westerback
2005-07-16Eliminate unnecessary 'code' field from struct option. MakeKenneth R Westerback
2005-07-13minor knfTheo de Raadt
2005-07-13Repair/rationalize option handling to ensure valid option section isKenneth R Westerback
2005-07-09Clean out a few more unused/uninitialized variables.Kenneth R Westerback
2005-07-08Eliminate unused code and associated parameters.Kenneth R Westerback
2005-07-07Eliminate unused code and associated parameter.Kenneth R Westerback
2005-07-07Eliminate tree_cache structure in favour of option_data. EliminateKenneth R Westerback
2005-07-07Expunge two unused fields (buf_size, timeout) in tree_cache structure.Kenneth R Westerback
2005-05-29robustness against malformed snames.marius eriksen
2005-04-08protect read() on rtsock against interruptions by signal, foudn with djmHenning Brauer
2005-04-02spacingTheo de Raadt
2005-04-02fix indentation both, michael knudsenHenning Brauer
2005-04-02allow _ in hostnames, but complain since this is not legal, but there isHenning Brauer
2005-02-06"no link .got link" => "no link .... got link". i.e. always displayKenneth R Westerback
2004-12-05extend window of "ignoring route messages on the socket" for 10 secondsTheo de Raadt
2004-11-25Ignore 0.0.0.0 in RTM_NEWADDR messages as these messages are generated byClaudio Jeker
2004-09-15use ftello() instead of ftell() where betterTheo de Raadt
2004-09-15no \n in error() calls and minor KNF, from Moritz Jodeit <moritz@jodeit.org>Henning Brauer
2004-08-30Avoid spinning if the server gives us a bogus zero lease time, byOtto Moerbeek
2004-07-07make the shell script execution window 3 seconds. i really need to findTheo de Raadt
2004-06-23better dead detect window code; still crapTheo de Raadt
2004-06-22horrid horrid horrid. we have a race window where we, ourselves, do anTheo de Raadt
2004-06-22do not exit on RTM_DELADDR, dhclient can cause this itself under some rareHenning Brauer
2004-06-03fall back to "nobody" when the _dhcp user is not available, theo bob okHenning Brauer
2004-05-13when trying to rewrite the lease file, and if the lease file is alreadyHenning Brauer
2004-05-08unbreakHenning Brauer