diff options
author | Quentin <quentin@dufour.io> | 2021-09-20 16:06:02 +0200 |
---|---|---|
committer | Quentin <quentin@dufour.io> | 2021-09-20 16:06:02 +0200 |
commit | 4d4d453afa3edafe71db2ae60171b8696b38a3c9 (patch) | |
tree | 64a54012efbac76bca6c5f0d8214fdae44743bc8 /src/fw.rs | |
parent | 2bbc9109991f8bb79a09a965a1d2779e1749b25b (diff) | |
parent | 68cb4d5482649baca3a79d3fd0e3449a6af0533b (diff) | |
download | diplonat-4d4d453afa3edafe71db2ae60171b8696b38a3c9.tar.gz diplonat-4d4d453afa3edafe71db2ae60171b8696b38a3c9.zip |
Merge pull request 'Extensively use rustfmt' (#11) from quality/rustfmt into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/11
Diffstat (limited to 'src/fw.rs')
-rw-r--r-- | src/fw.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,9 +1,11 @@ -use crate::messages; +use std::collections::HashSet; + use anyhow::{Context, Result}; use iptables; use log::*; use regex::Regex; -use std::collections::HashSet; + +use crate::messages; pub fn setup(ipt: &iptables::IPTables) -> Result<()> { // ensure we start from a clean state without any rule already set |