Searched refs:clearCommands (Results 1 – 1 of 1) sorted by relevance
833 std::vector<std::string> clearCommands = { "*filter" }; in parseAndFlushCostlyTables() local846 clearCommands.push_back(StringPrintf(":%s -", chainName.c_str())); in parseAndFlushCostlyTables()848 clearCommands.push_back(StringPrintf("-X %s", chainName.c_str())); in parseAndFlushCostlyTables()852 if (clearCommands.size() == 1) { in parseAndFlushCostlyTables()857 clearCommands.push_back("COMMIT\n"); in parseAndFlushCostlyTables()858 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()