summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
AgeCommit message (Expand)Author
2016-07-21Use explicit idiom when testing the result of strcmp() and strncmp().Kenneth R Westerback
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-12-19Delete superfluous "continue;" just before end of loop.Kenneth R Westerback
2015-12-03No need to continuously check the current rdomain of the interfaceKenneth R Westerback
2015-05-18Stop rejecting leases with a subnet that overlaps a subnet alreadyKenneth R Westerback
2015-04-16Tweak error output.Gleydson Soares
2015-02-06Don't let errors leak the memory returned by getifaddrs().Kenneth R Westerback
2014-12-10Reusing the same field for different things in different contexts mayKenneth R Westerback
2014-11-27Use if_nametoindex() to get the interface index, and thereby checkKenneth R Westerback
2014-11-26Reset ifi->errors after a successful receive_packet(), rather thanKenneth R Westerback
2014-11-26'ifi' is successfully calloc'd during initialization or dhclientKenneth R Westerback
2014-11-26Rename 'got_one()' to 'packethandler()'.Kenneth R Westerback
2014-11-23Rename discover_interface() to more meaningful get_hw_address().Kenneth R Westerback
2014-11-23Cleanup some struct interface_info fields. Make 'nomedia' a flag. ReplaceKenneth R Westerback
2014-11-16Read your compiler output even when it succeeds. Add missing variable toKenneth R Westerback
2014-11-13Tweak some comments and error messages. Put all "I can't handleKenneth R Westerback
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.Kenneth R Westerback
2014-02-18Do not create the default dhcp-client-identifier if an empty stringKenneth R Westerback
2014-02-09Don't use imsg_flush(), roll a local flush_unpriv_ibuf() that loopsKenneth R Westerback
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