summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dispatch.c
AgeCommit message (Expand)Author
2017-04-05Shuffle sendhup() into dispatch.c, the only place it is used.Kenneth R Westerback
2017-04-04Send a RTM_PROPOSAL to clear out other dhclient instances on startup.Kenneth R Westerback
2017-03-08Stray #endif w/o comment.Kenneth R Westerback
2017-02-14fatalx() prepends 'fatal in _progname:'. So eliminate redundantKenneth R Westerback
2017-02-12Eliminate most strerror() invocations by using log_warn() and fatal()Kenneth R Westerback
2017-02-12Adjust lines that are too long.Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2017-01-23Keep socket open from startup, and reuse for SIOCGIFFLAGS later on,Theo de Raadt
2016-10-06Add support for RFC 6842, which says the client MUST drop packets whenKenneth R Westerback
2016-09-29'ifname' --> 'ifi->name' so DEBUG compiles again.Kenneth R Westerback
2016-09-02Kill 'ifi' global.Martin Pieuchot
2016-08-31Remove the 'client' global and make it per-ifp.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
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