summaryrefslogtreecommitdiff
path: root/iptables.h
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.h')
-rw-r--r--iptables.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/iptables.h b/iptables.h
index 92a891d..f1d0624 100644
--- a/iptables.h
+++ b/iptables.h
@@ -39,6 +39,9 @@ class IpTables : public org::chromium::FirewalldInterface {
bool RemoveVpnSetup(const std::vector<std::string>& usernames,
const std::string& interface) override;
+ // Close all outstanding firewall holes.
+ void PlugAllHoles();
+
protected:
// Test-only.
explicit IpTables(const std::string& ip4_path, const std::string& ip6_path);
@@ -55,8 +58,6 @@ class IpTables : public org::chromium::FirewalldInterface {
std::set<Hole>* holes,
ProtocolEnum protocol);
- void PlugAllHoles();
-
bool AddAcceptRules(ProtocolEnum protocol,
uint16_t port,
const std::string& interface);