Skip to content

Commit c69b4bc

Browse files
committed
bash command issues
1 parent a58bda5 commit c69b4bc

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tproxy-config"
3-
version = "6.0.1"
3+
version = "6.0.2"
44
edition = "2021"
55
description = "Transparent proxy configuration"
66
license = "MIT"

src/macos.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ fn configure_dns_servers(iface_name: Option<String>, service_id: &str, dns_serve
267267
// Maybe one day the above settings will fully take effect, and this command can be removed.
268268
if let Some(iface_name) = iface_name {
269269
// networksetup -setdnsservers "$iface_name" $servers
270-
let iface_name = format!("\"{}\"", iface_name);
271270
let addrs = dns_servers.iter().map(|x| x.to_string()).collect::<Vec<String>>().join(" ");
272271
run_command("networksetup", &["-setdnsservers", &iface_name, &addrs])?;
273272
}

0 commit comments

Comments
 (0)