OSDN Git Service

Don't start tethering if IPv6 RPF is not supported.
authorLorenzo Colitti <lorenzo@google.com>
Mon, 1 Aug 2016 09:14:31 +0000 (18:14 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Mon, 1 Aug 2016 09:14:31 +0000 (18:14 +0900)
Bug: 9580643
Bug: 30298058

Change-Id: Ia2e81786527b5718ed7f9dd195a39ea1eb7eb2b4

server/NatController.cpp

index 8b4ee11..cda8f5f 100644 (file)
@@ -376,8 +376,7 @@ int NatController::setForwardRules(bool add, const char *intIface, const char *e
         goto err_return;
     }
 
-    // STOPSHIP: Make this an error.
-    if (runCmd(ARRAY_SIZE(cmd4), cmd4) && add && false /* STOPSHIP */) {
+    if (runCmd(ARRAY_SIZE(cmd4), cmd4) && add) {
         rc = -1;
         goto err_rpfilter;
     }