diff options
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 7c1f6d5..602c350 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -154,7 +154,7 @@ function interfaces_lan_configure() { /* force all bridged interfaces to use same mtu */ $mtu = get_interface_mtu($config['interfaces'][$lancfg['bridge']]['if']); - if($mtu == "0") { + if(intval($mtu) == 0) { log_error("An error occurred while trying to obtain the MTU setting. Using 1500."); $mtu = "1500"; } |