summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
AgeCommit message (Expand)Author
2013-12-08Reduce in_addr memcpy() dances by simply using assignments where the sourceKenneth R Westerback
2013-12-06Having stopped pretending we handle anything but ethernet packets,Kenneth R Westerback
2013-12-05Use destination size as size of memcpy(). Use <in_addr> rather thanKenneth R Westerback
2013-12-04More memcpy() stylistic repairs and size checks.Kenneth R Westerback
2013-11-16Fix msgbuf_write() usage.Kenneth R Westerback
2013-11-11Shuffle function prototypes and extern declarations around toKenneth R Westerback
2013-07-06Zap leading whitespace.Kenneth R Westerback
2013-07-05Zap trailing whitespace.Kenneth R Westerback
2013-05-10Fix subnet check. Check our rdomain against the rdomains of the otherKenneth R Westerback
2013-05-02Bunch of comment/whitespace cleanup. Eliminate some misleading orKenneth R Westerback
2013-04-05Nuke parameter to do_packet() not used since 2006. From dhill.Kenneth R Westerback
2013-03-22Ignore client-identifier option in leases from a server. They're not supposedKenneth R Westerback
2013-02-18Rework log messages to be more useful. RenameKenneth R Westerback
2013-02-17Using the value SIGQUIT to cause the dispatch loops to exit producedKenneth R Westerback
2013-02-17Suppress some pointless debugging message:Kenneth R Westerback
2013-02-14When an interface generates an RTM_IFINFO message, it may be as theKenneth R Westerback
2013-02-13Restore previous behaviour of not cleaning up in response to SIGTERM.Kenneth R Westerback
2013-01-18Change a bunch of error()'s to warning()'s in the dispatch loop.Kenneth R Westerback
2012-12-29Make HUP to either one of the processes cause a restart that willKenneth R Westerback
2012-12-04Eliminate hand-rolled pseudo-strerror() %m strangeness by replacingKenneth R Westerback
2012-11-24Don't segfault if no subnet-mask is provided, or is marked 'ignore'Kenneth R Westerback
2012-11-23Use the libutil imsg framework rather than a hand-rolled localKenneth R Westerback
2012-11-08Remove confusing extra address abstraction 'struct iaddr'. Just useKenneth 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-04Properly clear the UP flag while forcing the interface down/upStefan Sperling
2012-11-02Watch the non-privileged end of the pipe to the privileged childKenneth R Westerback
2012-10-30Nuke dhclient-script and dhclient.conf 'script' directive. Do allKenneth R Westerback
2012-10-11Remove the new (as of r1.56) line of code which updates ifi->linkstat inStuart Henderson
2012-09-18Don't accept leases that offer a subnet that is already configuredKenneth R Westerback
2012-09-17De-obfuscate and update reality correspondance of some comments.Kenneth R Westerback
2012-09-01Nuke a static global I can't get my head around - interfaces_invalidated.Kenneth R Westerback
2012-08-26Junk global cur_time, and use time(NULL) or local variables whereKenneth R Westerback
2012-08-18Update global cur_time after exiting poll() and before calling theKenneth R Westerback
2012-07-26Make interface_status() assume that a link is up when IFM_AVALIDKenneth R Westerback
2012-07-09Terminate with extreme prejudice the multiple timeout queuingKenneth R Westerback
2012-06-24Nuke interface_link_status() (check media status only) and useKenneth R Westerback
2012-06-22Two 'ioctl() < 0' -> 'ioctl() == -1'. guenther@ says they're odd.Kenneth R Westerback
2010-10-23make sure an interface is registered before we start using itPeter Hessler
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-07-02garbage collect an unused function; ok claudioTheo de Raadt
2010-06-02Have dhclient obey the interface's rdomain, instead of doing routes onPeter Hessler
2009-11-26Silence dhclient by immediately exiting if the interface doesn't existKenneth R Westerback
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
2009-02-19'(ifi->linkstat && ifi && ifi->rfdesc != -1)' is flawed. Swap theKenneth R Westerback
2008-05-26If an interface has no link at startup, try to force it up, and thenTheo de Raadt
2008-05-09- don't give up when the link is not available on startup: dhclientReyk Floeter
2007-11-12dont spew debug output when the SIOCGIFMEDIA ioctl errors with ENOTTY.David Gwynne
2007-02-14use errwarn functions vs. syslog(); ok henning@ krw@Kevin Steves
2007-01-27We only poll on the bpf fd and the routing socket fd. No need forKenneth R Westerback