summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-06 15:57:20 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-06 15:57:20 +0000
commitece390c088ad22f445e3d64b25beb869246ddc6c (patch)
treee27e2883bc64afcdfd2ef0a46717d4e265cf6187 /etc
parentc14f32379326f6069da4b4220bfd69e1ef23fb09 (diff)
downloadpfsense-ece390c088ad22f445e3d64b25beb869246ddc6c.zip
pfsense-ece390c088ad22f445e3d64b25beb869246ddc6c.tar.gz
Do not step on var
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a6e7bd8..6f41662 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1057,8 +1057,8 @@ function setup_polling() {
foreach ($iflist as $ifent => $ifname) {
$real_interface = convert_friendly_interface_to_real_interface_name($ifname);
$supported = false;
- foreach($supported_ints as $supported) {
- if(stristr($real_interface, $supported)) {
+ foreach($supported_ints as $supported_int) {
+ if(stristr($real_interface, $supported_int)) {
$supported = true;
}
if (stristr($real_interface, "vlan")) {
OpenPOWER on IntegriCloud