Commit Graph

20 Commits

Author SHA1 Message Date
matt
a151e62066 Fix (back into) comment 2014-03-07 05:51:44 +00:00
christos
4044532ae0 fix incorrect overflow test: https://android-review.googlesource.com/#/c/50570/ 2014-03-07 01:04:29 +00:00
christos
d39376afb9 Wait for all the interfaces specified on the command line to be configured
before daemonizing, not just the first one. Perhaps we should introduce a
separate flag for this behavior?
2014-02-04 22:34:39 +00:00
christos
b8192c839d more casts 2013-12-19 22:05:58 +00:00
christos
cdd3d6fc0e file descriptor neatness. 2013-06-20 15:14:03 +00:00
christos
76bb5036c5 add finish_daemon(); 2013-06-20 12:26:34 +00:00
christos
28e086be17 1. don't try to open the pid file if the path is NULL
2. daemonize in two stages: always fork() first and wait for the child to tell
   us when the interface is ready, so that we don't lose track of the file
   descriptors since we are threaded.
3. Add an option (-m) not to match the hardware address of the responding
   dhcp server.
2013-06-20 12:24:08 +00:00
christos
1778f662e3 document -m flag 2013-06-20 12:15:38 +00:00
christos
2e0a455f32 Become daemon before initializing anything, otherwise this does not work
with threaded workers.
2013-06-16 23:49:50 +00:00
christos
ca316180bc initialize the omapi subsystem early so we can allocate interfaces. 2013-04-14 01:51:39 +00:00
christos
211104fe6e How could this possibly ever have worked with threads? It forked *after*
it initialized the isc library and the parent having created the threads
exited with the worker threads?!?!? Only -d worked because it did not
fork!
2013-04-13 23:04:35 +00:00
christos
b8058707a3 Use the active link local layer address instead of the first one you find.
It would be nice if getifaddrs gave all the information needed instead of
needed a separate ioctl. Or at least if the inactive addresses were marked
down in flags?
2013-04-08 02:16:03 +00:00
christos
49d01eccc3 welcome to 4.2.5-P1 2013-03-27 00:38:07 +00:00
christos
79364f4eb5 security fix propagation from bind, no actual changes, and it does not
affect us since we use an external bind.
2013-03-27 00:30:58 +00:00
christos
cec592dd5a Undo horrid configure hack, use compiler define. 2013-03-25 01:11:02 +00:00
christos
f662ec0bb9 adjust build to 4.2.5 2013-03-24 23:03:05 +00:00
christos
b576cb34cf updat to 4.2.5 2013-03-24 22:50:21 +00:00
christos
2e21570ca6 remove error(1) comment 2013-03-24 16:27:58 +00:00
christos
b4295394bf minimal patches to compile with WARNS=1 !?!? 2013-03-24 15:53:58 +00:00
christos
6644b02250 from ftp.isc.org 2013-03-24 15:45:44 +00:00