summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-12 12:34:32 -0200
committerRenato Botelho <renato@netgate.com>2016-01-12 12:35:11 -0200
commit97dbeff6625310015614ed46e593e02b6a5a0d80 (patch)
tree0e53c97e59b29f8851306862f98f4fb887ecb19e /src/etc
parent02680da57e9e87fdab7d0ef20a9eef87f76c892d (diff)
downloadpfsense-97dbeff6625310015614ed46e593e02b6a5a0d80.zip
pfsense-97dbeff6625310015614ed46e593e02b6a5a0d80.tar.gz
Fix attribution. Spotted-by BBcan177
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index e40b0f7..90e5168 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -3108,7 +3108,7 @@ function interface_mtu_wanted_for_pppoe($realif) {
if (!empty($ppp['mtu'])) {
$mtus = explode(',', $ppp['mtu']);
} else {
- $mtus == array();
+ $mtus = array();
}
// there is an MTU configured on the port in question
if (!empty($mtus[$pid])) {
OpenPOWER on IntegriCloud