summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Expand)Author
2013-02-02Fix resolv.conf magic. Add identifying comment to generated resolv.confKenneth R Westerback
2013-02-02Dereference correct pointer. Fix crash when checking whether resolv.confKenneth R Westerback
2013-02-01do not leak dn if there is no resolv.conf contents; found by llvmFlorian Obser
2013-02-01always initialize cur_time; found by llvmFlorian Obser
2013-02-01do not leak lease in error path; found by llvmFlorian Obser
2013-02-01Increment size of buffer to accomodate terminating NUL *after* usingKenneth R Westerback
2013-02-01Handle a non-existant resolv.conf.tail without issuing an errorKenneth R Westerback
2013-02-01Write out resolv.conf only if the default route is under the controlKenneth R Westerback
2013-01-27Refactor code a bit. Calculate resolv.conf contents once when binding aKenneth R Westerback
2013-01-26Oops. Restore "no domain-name, no domain-name-seervers means don'tKenneth R Westerback
2013-01-26Read /etc/resolv.conf.tail once on startup and save contents forKenneth R Westerback
2013-01-26Whitespace tweaks.Kenneth R Westerback
2013-01-22Whitespace nit. Better error messages.Kenneth R Westerback
2013-01-19be more explicit about default file locations; ok krwJason McIntyre
2013-01-18tweak -L; ok krwJason McIntyre
2013-01-18-L before -l;Jason McIntyre
2013-01-18Change a bunch of error()'s to warning()'s in the dispatch loop.Kenneth R Westerback
2013-01-18Add command line option '-L' that specifies an optional file into whichKenneth R Westerback
2013-01-17Try harder to clear out default routes on the interface beingKenneth R Westerback
2013-01-17remove a uesless Pp;Jason McIntyre
2013-01-16Unrevert last reversion. otto@ pointed out that it wasn't asprintf()Kenneth R Westerback
2013-01-16Revert last. asprintf() breaks something.Kenneth R Westerback
2013-01-16Use the magic of asprintf() to produce more informative errorKenneth R Westerback
2013-01-16Don't tell the priviledged process to discard active_addr if there isKenneth R Westerback
2013-01-16for consistency with prio etc, the queue assignment really belongsHenning Brauer
2013-01-15Add IMSG_WRITE_FILE and associated bits to allow the unprivilegedKenneth R Westerback
2013-01-14First convert packet to lease, which validates option data andKenneth R Westerback
2013-01-13More informative error message.Kenneth R Westerback
2013-01-13Make pretty_print_option() return "" rather than "<fmt error>" whenKenneth R Westerback
2013-01-13Tweak whitespace, add missing #defines, use DHO_RELAY_AGENT_INFORMATIONKenneth R Westerback
2013-01-13Add DHO_ defines for all known options. Use same names as ISC whereKenneth R Westerback
2013-01-13Check results of strdup() of domainname and nameservers options.Kenneth R Westerback
2013-01-08Remove private CVS tag from an obsolete repository and bump copyrightReyk Floeter
2013-01-06The sparc optimization bug is believed to be fixed. OK naddy@.Martynas Venckus
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-03sysctl.3: remove some confusing text about NFS_NIOTHREADSJason McIntyre
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-22Return EEXIST to 'add' when a port is already a bridge member. This makesCamiel Dobbelaar
2012-12-21When binding to a new lease, wait for the RTM_NEWADDR message inKenneth R Westerback
2012-12-21remove makefile hacks that are no longer needed with t1 t2: working properlyMarc Espie
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-15Remove unused variables.Reyk Floeter