summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2013-01-06Make buffer for lease_as_string() 8192 bytes. A pathological leaseKenneth R Westerback
2013-01-05Change write_client_lease() into lease_as_string() and modifyKenneth R Westerback
2013-01-05Apply same fix to UDP length check as was just committed in dhcpd.Kenneth R Westerback
2013-01-02Only check '-l' parameter for regular-fileness. Not built-in defaultKenneth R Westerback
2013-01-02Sync dhcpd and dhclient list of dhcp options. There's only oneKenneth R Westerback
2013-01-02Delete misleading comment and a pointless check of !ifi. Since ifiKenneth R Westerback
2012-12-29Make HUP to either one of the processes cause a restart that willKenneth R Westerback
2012-12-21When binding to a new lease, wait for the RTM_NEWADDR message inKenneth R Westerback
2012-12-19Don't attempt to delete an address that has already been deletedKenneth R Westerback
2012-12-18Don't clean up twice when the non-privileged process exits. Let theKenneth R Westerback
2012-12-17Don't daemonize until the RTM_NEWADDR message is received. ShuffleKenneth R Westerback
2012-12-16Prevent a potential segfault that could occur if certain calloc() andLawrence Teo
2012-12-15Nuke unused parameter 'ifname' to get_ifname().Kenneth R Westerback
2012-12-10add -i to usage(); ok krwJason McIntyre
2012-12-09Add a new option to the dhclient command line interface. '-i' takesKenneth R Westerback
2012-12-05Archeological investigation shows dhclient-script did not overwriteKenneth R Westerback
2012-12-05If there is no domain-name and no domain-name-servers provided inKenneth R Westerback
2012-12-04Eliminate hand-rolled pseudo-strerror() %m strangeness by replacingKenneth R Westerback
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