Use iptables-restore in StrictController startup.
Bug: 21725996
Change-Id: I2c049a934189f3c87ee15f052abc07d35814f0c9
diff --git a/server/StrictController.h b/server/StrictController.h
index 6f5fed2..660c9ea 100644
--- a/server/StrictController.h
+++ b/server/StrictController.h
@@ -46,6 +46,7 @@
// For testing.
friend class StrictControllerTest;
static int (*execIptables)(IptablesTarget target, ...);
+ static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
};
#endif