summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-12 13:25:10 -0400
committerjim-p <jimp@pfsense.org>2011-05-12 13:26:05 -0400
commit2b094d211cb911d26d2ba279ba0fb2613f787a27 (patch)
treea7b69fb1e699df4bf8639f01881fe1fdc61cd258 /etc/inc/interfaces.inc
parenteb06ca8eb8c861bf50735687b3c9532d6a6ea41e (diff)
downloadpfsense-2b094d211cb911d26d2ba279ba0fb2613f787a27.zip
pfsense-2b094d211cb911d26d2ba279ba0fb2613f787a27.tar.gz
This function takes two parameters, fix PHP error. Reported at http://forum.pfsense.org/index.php/topic,36648.0.html
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 6a5b2d1..dae5495 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2584,7 +2584,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
else {
$mtu = get_interface_default_mtu(remove_numbers($realhwif));
if ($mtu != get_interface_mtu($realhwif))
- pfSense_interface_mtu($mtu);
+ pfSense_interface_mtu($realhwif, $mtu);
}
$options = pfSense_get_interface_addresses($realhwif);
OpenPOWER on IntegriCloud