diff options
author | Ermal <eri@pfsense.org> | 2013-01-26 12:05:25 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-26 12:05:25 +0000 |
commit | 0fbf7315705be37dc373a023e78d0f0a3cb54d26 (patch) | |
tree | b449248c3cdbf63dfca66de8b09f108bd9b06893 /etc/inc | |
parent | abdd01f53e32ebb42eae379fa17e721e87a258ce (diff) | |
download | pfsense-0fbf7315705be37dc373a023e78d0f0a3cb54d26.zip pfsense-0fbf7315705be37dc373a023e78d0f0a3cb54d26.tar.gz |
Do not use array_keys uselessly
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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]); |