summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2012-11-17'deeleting' -> 'deleting' in comment.Kenneth R Westerback
2012-11-16Call discover_interface() before forking, so both processes will knowKenneth R Westerback
2012-11-16Add missing 'break;' so that IFT_ETHER, etc. routes are deleted asKenneth R Westerback
2012-11-15Shuffle #include's to use the majority idiom everywhere - i.e. useKenneth R Westerback
2012-11-15If '-d' is specified to keep dhclient from daemonizing, don'tKenneth R Westerback
2012-11-14Oops. Commit the one that actually compiles.Kenneth R Westerback
2012-11-14When copying option.data, use option.len to specify the amount ofKenneth R Westerback
2012-11-14Remove useless _new_ and _old_ from various function names to makeKenneth R Westerback
2012-11-11Fix dhclient.conf 'default' directive which was also broken in codeKenneth R Westerback
2012-11-11supersede/append/prepend actions should work even if the dhcp serverKenneth R Westerback
2012-11-09Remove now unused files.Kenneth R Westerback
2012-11-08Remove confusing extra address abstraction 'struct iaddr'. Just useKenneth R Westerback
2012-11-08Remove lie about dhclient configuring all interfaces. MentionKenneth R Westerback
2012-11-08Close routing socket fd leak when deleting old address.Kenneth R Westerback
2012-11-07Nuke unused struct and function declarations.Kenneth R Westerback
2012-11-07Always memcpy() into/out of option data rather than hoping the char *Kenneth R Westerback
2012-11-07Use memset() consistently rather than tossing in a few bzero()'s.Kenneth R Westerback
2012-11-07Use memcpy() consistently rather than tossing in a few bcopy()'s.Kenneth R Westerback
2012-11-07Kill some annoying extra spaces. No code change.Kenneth R Westerback
2012-11-06Kill two unused functions, subnet_number() and broadcast_addr().Kenneth R Westerback
2012-11-05Some systems give ENETUNREACH when trying to add the 'standard'Kenneth R Westerback
2012-11-04Properly clear the UP flag while forcing the interface down/upStefan Sperling
2012-11-04Use consistant initialization idiom to reduce confusion.Kenneth R Westerback
2012-11-04No need to pass interface name around when flushing routes.Kenneth R Westerback
2012-11-04No need to pass interface name around when creating routes.Kenneth R Westerback
2012-11-03Various fixes/tweaks for resolv.conf handling:Kenneth R Westerback
2012-11-03While this identical idiom caused problems when building an ifaliasreqKenneth R Westerback
2012-11-02Avoid some misaligned access on sparc64 (at least) by bcopy()'ingKenneth R Westerback
2012-11-02Don't add a 'nameserver' line to resolv.conf if the nameserver inKenneth R Westerback
2012-11-02Watch the non-privileged end of the pipe to the privileged childKenneth R Westerback
2012-11-01KNF some leading spaces into tabs.Kenneth R Westerback
2012-10-31Delete some leftover debug code and the array it rode in on.Kenneth R Westerback
2012-10-31chris@ spotted a '2038' where a '2048' was meant and pointed outKenneth R Westerback
2012-10-31Forcibly delete all existing ipv4 addresses from an interface whenKenneth R Westerback
2012-10-30Nuke dhclient-script and dhclient.conf 'script' directive. Do allKenneth R Westerback
2012-10-30New file holding functions to perform direct interface and routingKenneth R Westerback
2012-10-27Change dhclient.conf directive 'ignore' to take a list of option namesKenneth R Westerback
2012-10-11Remove the new (as of r1.56) line of code which updates ifi->linkstat inStuart Henderson
2012-10-10Revert r1.155. Routing breaks if dhclient-script flushes theKenneth R Westerback
2012-09-22last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2012-09-18Once resolv.conf.saved has been copied back as resolv.conf, delete it soKenneth R Westerback
2012-09-18Don't accept leases that offer a subnet that is already configuredKenneth R Westerback
2012-09-17When a link is lost, call dhclient-script with reason "FAIL". ThisKenneth R Westerback
2012-09-17De-obfuscate and update reality correspondance of some comments.Kenneth R Westerback
2012-09-01Oops. Missed a reinitialize_interface() declaration.Kenneth R Westerback
2012-09-01Nuke a static global I can't get my head around - interfaces_invalidated.Kenneth R Westerback
2012-08-31Nuke a bunch of annoying "/* Send a packet. */" comments aboveKenneth R Westerback
2012-08-29no point having two copies of this file - this copy never gotJason McIntyre
2012-08-26Junk global cur_time, and use time(NULL) or local variables whereKenneth R Westerback
2012-08-22add ignore keyword to conf file, allowing one to ignore unwanted infoTed Unangst