Skip to content

Commit

Permalink
Missing unwrap for wifi-mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
jkilpatr authored and drozdziak1 committed Jul 12, 2018
1 parent 1afcbe7 commit 0f189dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rita/src/rita_client/dashboard/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl Handler<SetWifiConfig> for Dashboard {
let iface_number = i.section_name.clone().chars().last();

if i.mesh && iface_number.is_some() {
let iface_name = format!("rita_wlan{:?}", iface_number);
let iface_name = format!("rita_wlan{}", iface_number.unwrap());

TunnelManager::from_registry().do_send(Listen(iface_name.clone()));
KI.set_uci_var(&format!("wireless.{}.ssid", i.section_name), "AltheaMesh")?;
Expand Down

0 comments on commit 0f189dc

Please sign in to comment.