warning fix

This commit is contained in:
2026-06-18 13:44:38 +07:00
parent 4edf472d1f
commit cab3c10c85
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ async fn main() -> anyhow::Result<()> {
let addr: std::net::SocketAddr = remote_address.parse().expect("Invalid address format");
let p_ip = addr.ip().to_string();
if let Err(e) = reset_platform_routing(Some(&p_ip)) {
if let Err(e) = reset_platform_routing(Some(&p_ip), false) {
error!("Failed to restore routing: {}", e);
} else {
info!("System routing restored successfully.");