Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
],
&["proto/wireguard", "proto/enterprise/firewall"],
)?;
println!("cargo:rerun-if-changed=proto");
Ok(())
}
2 changes: 1 addition & 1 deletion proto
Submodule proto updated 1 files
+1 −0 wireguard/gateway.proto
7 changes: 7 additions & 0 deletions src/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,13 @@ impl Gateway {
}
}
}
#[cfg(target_os = "linux")]
Some(update::Update::DisableFirewall(_)) => {
debug!("Disabling firewall configuration");
if let Err(err) = self.process_firewall_changes(None) {
error!("Failed to disable firewall configuration: {err}");
}
}
_ => warn!("Unsupported kind of update: {update:?}"),
}
}
Expand Down