summaryrefslogtreecommitdiff
path: root/sbin/dhclient/kroute.c
AgeCommit message (Expand)Author
2017-07-22Rename *_add_address to *_set_address to reflect that theKenneth R Westerback
2017-07-21s/set_interface_mtu/set_mtu/gKenneth R Westerback
2017-07-17Nuke unused variables 'deleting' and 'adding'.Kenneth R Westerback
2017-07-14Replace remaining "!var" expressions withKenneth R Westerback
2017-07-14Replace remaining "!<pointer>" expressions withKenneth R Westerback
2017-07-10Use ioctlfd/routefd sockets rather than rolling one's ownKenneth R Westerback
2017-07-10Use a modern spacious idiom on all function local variableKenneth R Westerback
2017-07-09Be consistent. "return (e);" -> "return e;"Kenneth R Westerback
2017-07-09Whitespace tweaks to assuage auto-indent.Kenneth R Westerback
2017-07-08Always use uintNN_t instead of sometimes u_intNN_tKenneth R Westerback
2017-07-02Unbreak tree by putting revised resolv_conf_priority() declaration inKenneth R Westerback
2017-07-01Eliminate multiple socket openings/closings and passKenneth R Westerback
2017-06-29delete_addresses(), interface_status(), addressinuse(),Kenneth R Westerback
2017-06-28Only pass required fields of interface_info to priv_* functionsKenneth R Westerback
2017-06-28delete_route() doesn't need any info from its struct interface_infoKenneth R Westerback
2017-06-28resolv_conf_priority() is a function local to kroute.c, noKenneth R Westerback
2017-06-28Stop trying to clean up addresses, routes and "-L" fileKenneth R Westerback
2017-06-28Be consistent and always use socket(..., SOCK_DGRAM, ...) forKenneth R Westerback
2017-06-25priv_add_address() is no longer invoked to signal the deletion of theKenneth R Westerback
2017-06-24Tweak handling of HUP and new LLADDR. Just use expose and use sighup()Kenneth R Westerback
2017-06-23Take reyk's imsg resolv.conf improvements of a while ago to theirKenneth R Westerback
2017-04-12Shuffle another function.Kenneth R Westerback
2017-04-11Shuffle route/interface changing functions together into kroute.c. Try toKenneth R Westerback
2017-04-11Fold priv_write_file() into its only remaining userKenneth R Westerback
2017-04-09Seven casts, a couple of tweaks and CFLAGS+=-Wsign-compare for theKenneth R Westerback
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingKenneth R Westerback
2017-04-05Shuffle sendhup() into dispatch.c, the only place it is used.Kenneth R Westerback
2017-03-08Move ROUNDUP() to top of file, outside of warring #ifdef's to come.Kenneth 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
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-19Don't exit if a route can't be added. Just log particulars andKenneth R Westerback
2015-12-19Delete superfluous "close(s);return" just before "close(s);<functionKenneth R Westerback
2015-12-18Check ioctl() result with == -1, not < 0. Break long line.Kenneth R Westerback
2015-02-10Groundwork for better route support over multiple interfaces byKenneth R Westerback
2015-02-08Get rid of a bunch of memset()'s where struct variables and arraysKenneth R Westerback
2015-02-07Add support for interface-mtu (option 26).Kenneth R Westerback
2015-02-07GC unused parameters now that ifname and rdomain are not used inKenneth R Westerback
2015-02-06matthew@ points out that it's a bad idea to rely on the non-privileged,Kenneth R Westerback
2015-01-31Always free(buf) if errmsg is set while trying to flush routes.Kenneth R Westerback
2015-01-30Tweak error message to say 'realloc' since that's what's failing,Kenneth R Westerback
2014-10-27Zap extraneous whitespace and a stuttered extra 'break;'.Kenneth R Westerback
2014-07-14Make sure to correctly exit the loop in priv_flush_routes() in case ofMiod Vallat
2014-07-09Print sizeof() value and size_t variable with %zu rather than %zd.Kenneth R Westerback
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.Kenneth R Westerback
2014-02-13Hard looping on EAGAIN is bad. Just fall out to outer event loopKenneth R Westerback
2014-02-09Don't use imsg_flush(), roll a local flush_unpriv_ibuf() that loopsKenneth R Westerback