summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2012-12-03Backout last. It breaks existing 'ifconfig down ; dhclient' usage.Kenneth R Westerback
2012-12-03Cleanup after a 'ifconfig down', but stick around so 'ifconfig up'Kenneth R Westerback
2012-12-02Try harder to cleanup when exiting. In particular catch signalsKenneth R Westerback
2012-12-01Make privileged process daemonize too. Using same function as theKenneth R Westerback
2012-12-01A couple of whitespace nits.Kenneth R Westerback
2012-11-29Nobody looks at the result of fork_privchld(), so make it returnKenneth R Westerback
2012-11-29Nuke unused 'extern' declaration.Kenneth R Westerback
2012-11-27Clean up parsing of option lists. Part 7 (and final).Kenneth R Westerback
2012-11-27Clean up parsing of option lists. Part 6.Kenneth R Westerback
2012-11-27Clean up parsing of option lists. Part 5.Kenneth R Westerback
2012-11-25Clean up parsing of option lists. Part 3.Kenneth R Westerback
2012-11-25Clean up parsing of option lists. Part 2.Kenneth R Westerback
2012-11-25Clean up parsing of option lists. Part 1.Kenneth R Westerback
2012-11-24Don't segfault if no subnet-mask is provided, or is marked 'ignore'Kenneth R Westerback
2012-11-23Missed file from last commit.Kenneth R Westerback
2012-11-23Use the libutil imsg framework rather than a hand-rolled localKenneth R Westerback
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