diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2011-01-25 01:03:49 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2011-01-25 01:03:49 -0700 |
commit | 5691915776174b9ffeb6d87c616dc0a0dab2fe27 (patch) | |
tree | 025f395dc1a1008ea08e020e6bcfa2d3c2c29147 /etc | |
parent | a1476a942bbb39ca6ebf91f541c0ce9072c7aeac (diff) | |
download | pfsense-5691915776174b9ffeb6d87c616dc0a0dab2fe27.zip pfsense-5691915776174b9ffeb6d87c616dc0a0dab2fe27.tar.gz |
Use the first element of the array instead of the array itself for the comparison.
Diffstat (limited to 'etc')
-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 454ea33..3bdfb15 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2849,7 +2849,7 @@ function convert_real_interface_to_friendly_interface_name($interface = "wan") { return $if; $int = get_parent_interface($if); - if ($int == $interface) + if ($int[0] == $interface) return $ifname; } return NULL; |