summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-02 17:58:39 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-02 17:58:39 +0000
commit026787d2ff9b6e51e4c621a2ac95948ab7af5665 (patch)
tree3672442e71adba3ec021077e8401b77d2775ce85
parentad2826c8f24759bbd17cfbb1ea90c4af6ce8d7d8 (diff)
downloaddrakx-net-026787d2ff9b6e51e4c621a2ac95948ab7af5665.tar
drakx-net-026787d2ff9b6e51e4c621a2ac95948ab7af5665.tar.gz
drakx-net-026787d2ff9b6e51e4c621a2ac95948ab7af5665.tar.bz2
drakx-net-026787d2ff9b6e51e4c621a2ac95948ab7af5665.tar.xz
drakx-net-026787d2ff9b6e51e4c621a2ac95948ab7af5665.zip
keep track of hidden networks
-rw-r--r--lib/network/monitor.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/monitor.pm b/lib/network/monitor.pm
index abe5680..7e644b6 100644
--- a/lib/network/monitor.pm
+++ b/lib/network/monitor.pm
@@ -111,6 +111,7 @@ sub list_wireless {
}
foreach (values %networks) {
+ $_->{hidden} = member($_->{essid}, '', '<hidden>');
$_->{essid} eq '<hidden>' and undef $_->{essid};
$_->{name} = $_->{essid} || "[$_->{ap}]";
}