summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-26 12:05:25 +0000
committerErmal <eri@pfsense.org>2013-01-26 12:05:25 +0000
commit0fbf7315705be37dc373a023e78d0f0a3cb54d26 (patch)
treeb449248c3cdbf63dfca66de8b09f108bd9b06893 /etc/inc
parentabdd01f53e32ebb42eae379fa17e721e87a258ce (diff)
downloadpfsense-0fbf7315705be37dc373a023e78d0f0a3cb54d26.zip
pfsense-0fbf7315705be37dc373a023e78d0f0a3cb54d26.tar.gz
Do not use array_keys uselessly
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 0c67765..40971d0 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -402,7 +402,7 @@ function interfaces_create_wireless_clones() {
$iflist = get_configured_interface_list();
- foreach (array_keys($iflist) as $if) {
+ foreach ($iflist as $if) {
$realif = $config['interfaces'][$if]['if'];
if (is_interface_wireless($realif))
interface_wireless_clone(interface_get_wireless_clone($realif), $config['interfaces'][$if]);
OpenPOWER on IntegriCloud