summaryrefslogtreecommitdiff
path: root/sbin/dhclient/kroute.c
AgeCommit message (Expand)Author
2013-08-17Do not create a route to the bound address via 127.0.0.1. Our stackKenneth R Westerback
2013-07-05Zap trailing whitespace.Kenneth R Westerback
2013-06-09Make route adding interface more flexible by passing flags to beKenneth R Westerback
2013-06-09Fix/clarify some comments. do memset()'s only when variable is goingKenneth R Westerback
2013-06-09Re-apply static route and classless static route support -- this timeKenneth R Westerback
2013-06-09Re-apply route adding code refactoring -- it wasn't the problem thatKenneth R Westerback
2013-06-09Backout static/classless route handling and default route refactoringKenneth R Westerback
2013-06-04Add support for static routes option (33) and classless staticKenneth R Westerback
2013-06-01Refactor the default route adding code to use a general route addingKenneth R Westerback
2013-03-30Since deleting all the addresses on an interface removes all theKenneth R Westerback
2013-03-24Simplify logic when processing route dump by using a helper functionKenneth R Westerback
2013-03-21create realloc() loops around sysctl for array-based mibs, in programsTheo de Raadt
2013-03-13Make sure dhclient doesn't delete IPv6 routes.Paul de Weerd
2013-03-11When binding a lease, check for and clear out any 'zombie' routesKenneth R Westerback
2013-03-08Consolidate parsing of rtm address lists. Use RTAX_GATEWAY entryKenneth R Westerback
2013-03-07Refactor code around route label creation and checking to make it easierKenneth R Westerback
2013-02-28Try 10 times to obtain the routing table via sysctl(), and if itKenneth R Westerback
2013-02-24Don't log a complaint that a non-existant default route could not beKenneth R Westerback
2013-02-21Use imsg_flush() to force delivery of IMSG_DELETE_ADDRESS toKenneth R Westerback
2013-02-18Don't delete permanent arp cache entries when clearing the arpKenneth 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-17Kill a magic number. 0 -> RTP_NONE for priority in constructing routingKenneth R Westerback
2013-02-17dhclient-script did 'route -q $rdomain add $new_ip_address 127.0.0.1'.Kenneth R Westerback
2013-02-15Don't leak routing socket fd if getting the default route fails.Kenneth R Westerback
2013-02-03Use RTM_GET rather than the sysctl/scan all routes dance to obtainKenneth R Westerback
2013-02-01Write out resolv.conf only if the default route is under the controlKenneth R Westerback
2013-01-22Whitespace nit. Better error messages.Kenneth R Westerback
2013-01-17Try harder to clear out default routes on the interface beingKenneth R Westerback
2012-12-29Make HUP to either one of the processes cause a restart that willKenneth R Westerback
2012-12-19Don't attempt to delete an address that has already been deletedKenneth R Westerback
2012-12-17Don't daemonize until the RTM_NEWADDR message is received. ShuffleKenneth R Westerback
2012-12-04Eliminate hand-rolled pseudo-strerror() %m strangeness by replacingKenneth R Westerback
2012-12-03Backout last. It breaks existing 'ifconfig down ; dhclient' usage.Kenneth R Westerback
2012-12-03Cleanup after a 'ifconfig down', but stick around so 'ifconfig up'Kenneth R Westerback
2012-12-02Try harder to cleanup when exiting. In particular catch signalsKenneth R Westerback
2012-11-23Use the libutil imsg framework rather than a hand-rolled localKenneth R Westerback
2012-11-17'deeleting' -> 'deleting' in comment.Kenneth R Westerback
2012-11-16Add missing 'break;' so that IFT_ETHER, etc. routes are deleted asKenneth R Westerback
2012-11-15Shuffle #include's to use the majority idiom everywhere - i.e. useKenneth R Westerback
2012-11-14Remove useless _new_ and _old_ from various function names to makeKenneth R Westerback
2012-11-08Remove confusing extra address abstraction 'struct iaddr'. Just useKenneth R Westerback
2012-11-08Close routing socket fd leak when deleting old address.Kenneth R Westerback
2012-11-07Always memcpy() into/out of option data rather than hoping the char *Kenneth 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-07Kill some annoying extra spaces. No code change.Kenneth R Westerback
2012-11-05Some systems give ENETUNREACH when trying to add the 'standard'Kenneth R Westerback
2012-11-04No need to pass interface name around when flushing routes.Kenneth R Westerback