OSDN Git Service
(root)
/
android-x86
/
system-netd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8917e45
)
Don't start tethering if IPv6 RPF is not supported.
author
Lorenzo Colitti
<lorenzo@google.com>
Mon, 1 Aug 2016 09:14:31 +0000
(18:14 +0900)
committer
Lorenzo 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
patch
|
blob
|
history
diff --git
a/server/NatController.cpp
b/server/NatController.cpp
index
8b4ee11
..
cda8f5f
100644
(file)
--- a/
server/NatController.cpp
+++ b/
server/NatController.cpp
@@
-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;
}