OSDN Git Service

Fix typo in removeFwmarkRoute().
authorSreeram Ramachandran <sreeram@google.com>
Mon, 9 Dec 2013 22:43:26 +0000 (14:43 -0800)
committerSreeram Ramachandran <sreeram@google.com>
Mon, 9 Dec 2013 22:46:56 +0000 (14:46 -0800)
The typo was in the original CL that introduced this code (ag/326064).

Change-Id: Ib424189194f338b195026026c3d767ab0da53175

SecondaryTableController.cpp

index 736b5fe..42ed9cc 100644 (file)
@@ -535,7 +535,7 @@ int SecondaryTableController::addFwmarkRoute(const char* iface, const char *dest
 }
 
 int SecondaryTableController::removeFwmarkRoute(const char* iface, const char *dest, int prefix) {
-    return setFwmarkRoute(iface, dest, prefix, true);
+    return setFwmarkRoute(iface, dest, prefix, false);
 }
 
 int SecondaryTableController::setFwmarkRoute(const char* iface, const char *dest, int prefix,