summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-23 12:11:27 -0200
committerRenato Botelho <renato@netgate.com>2016-11-23 12:11:27 -0200
commit930ca82023234069b163a7843b4caa08a868f123 (patch)
treed452145e1ed7659bf139ecf3991045ca3d48c5dd /src/etc/inc/interfaces.inc
parent5794e1978df05156626eca36bf3830bf48e7bc8b (diff)
downloadpfsense-930ca82023234069b163a7843b4caa08a868f123.zip
pfsense-930ca82023234069b163a7843b4caa08a868f123.tar.gz
Change wireless interface description
Diffstat (limited to 'src/etc/inc/interfaces.inc')
-rw-r--r--src/etc/inc/interfaces.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index a9aae36..c1d3fdb 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -4737,12 +4737,12 @@ function interface_list_wireless() {
continue;
}
- $desc = get_single_sysctl(
- "dev.{$matches[1]}.{$matches[2]}.%desc");
+ $desc = $port . " ( " . get_single_sysctl(
+ "dev.{$matches[1]}.{$matches[2]}.%desc") . " )";
$result[] = array(
"if" => $port,
- "desc" => $desc
+ "descr" => $desc
);
}
OpenPOWER on IntegriCloud