mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
add more gateway info to hostnameInfo (#3019)
This commit is contained in:
@@ -47,7 +47,7 @@ pub async fn add_tunnel(
|
||||
}: AddTunnelParams,
|
||||
) -> Result<GatewayId, Error> {
|
||||
let ifaces = ctx.net_controller.net_iface.watcher.subscribe();
|
||||
let mut iface = GatewayId::from("wg0");
|
||||
let mut iface = GatewayId::from(InternedString::intern("wg0"));
|
||||
if !ifaces.send_if_modified(|i| {
|
||||
for id in 1..256 {
|
||||
if !i.contains_key(&iface) {
|
||||
|
||||
Reference in New Issue
Block a user