diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2014-06-18 00:22:17 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2014-06-23 16:00:08 +0900 |
| commit | ba25df989b48f36b784ad39307a49a4fd9c3fd66 (patch) | |
| tree | 96995bf97188c9d8e884cecd59e7478ca2d2e17f /server/InterfaceController.cpp | |
| parent | bd0f224f077264f21fa858b7a93062e3b8564006 (diff) | |
Use native netlink code instead of /sbin/ip to manipulate routes
Shelling out to /sbin/ip is slow, and more importantly it does
not preserve the error messages returned by the kernel when
adding or deleting a route fails. Instead, use netlink directly.
This change does not yet pass the errors back to CommandListener;
that is done in the next change in the series.
Change-Id: I5ad3c8583580857be6386a620ff5c4f3872d685b
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
