commit | 357e5629bb4c745296ab40340ec8679372337155 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Jun 17 16:14:17 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Jun 20 14:51:15 2014 +0900 |
tree | 0d2fcb6c98606d04a80b19de2125f6aea6c345fa | |
parent | d2f23fb6285000831f14cacc16881d96f6046c33 [diff] |
Flush both IPv4 and IPv6 routes. The current code unintentionally flushes only IPv4 routes because it reuses a function that is normally used to add and remove routes (where the IP version is implicitly specified by the route to add or remove). Instead of fixing the runIpRouteCommand function, add a new flushIpRoutes function because runIpRouteCommand will be replaced by a netlink implementation in an upcoming CL. Change-Id: Ie96ae4124baca3edb8e0d0841e7abadb6b3ee9ab