summaryrefslogtreecommitdiffstats
path: root/src/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/inc')
-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