Use iptables-restore in StrictController startup.
Bug: 21725996
Change-Id: I2c049a934189f3c87ee15f052abc07d35814f0c9
diff --git a/server/IptablesBaseTest.h b/server/IptablesBaseTest.h
index 5516788..a8521b1 100644
--- a/server/IptablesBaseTest.h
+++ b/server/IptablesBaseTest.h
@@ -30,10 +30,10 @@
void expectIptablesCommands(const std::vector<std::string>& expectedCmds);
void expectIptablesCommands(const ExpectedIptablesCommands& expectedCmds);
void expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds);
+ void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);
protected:
static std::vector<std::string> sCmds;
- static std::vector<std::string> sRestoreCmds;
+ static ExpectedIptablesCommands sRestoreCmds;
int expectIptablesCommand(IptablesTarget target, int pos, const std::string& cmd);
};
-