server: update system dns settings on address reload

This commit is contained in:
Luna Yao
2026-03-31 01:14:50 +02:00
parent d9d211c5a4
commit a73a029c50
5 changed files with 93 additions and 10 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pub trait SystemConfigurator: Send + Sync {
}
// TODO: move this to nic mod
fn get(
pub fn get(
#[allow(unused_variables)] interface: &str,
) -> Result<Option<Box<dyn SystemConfigurator>>, anyhow::Error> {
#[cfg(target_os = "windows")]