aboutsummaryrefslogtreecommitdiff
path: root/src/fw.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-04-04 19:06:33 +0200
committerAlex Auvolat <alex@adnab.me>2023-04-04 19:06:33 +0200
commitf410230240b270ec01cfbf0002cbe9d3849eb03b (patch)
tree7118b6281feaf23f5f30832ab2f997ea72902308 /src/fw.rs
parentb3f76f272abab8695b4406c6f0addcb58253c89d (diff)
downloaddiplonat-f410230240b270ec01cfbf0002cbe9d3849eb03b.tar.gz
diplonat-f410230240b270ec01cfbf0002cbe9d3849eb03b.zip
parse private_ip earlier
Diffstat (limited to 'src/fw.rs')
-rw-r--r--src/fw.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw.rs b/src/fw.rs
index 6745b3f..88aaa86 100644
--- a/src/fw.rs
+++ b/src/fw.rs
@@ -11,7 +11,7 @@ pub fn setup(ipt: &iptables::IPTables) -> Result<()> {
// ensure we start from a clean state without any rule already set
cleanup(ipt)?;
- info!("{}: creating DIPLONAT chain using", ipt.cmd);
+ info!("{}: creating DIPLONAT chain", ipt.cmd);
ipt.new_chain("filter", "DIPLONAT")
.context("Failed to create new chain")?;
ipt.insert_unique("filter", "INPUT", "-j DIPLONAT", 1)