summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-06-03 23:27:38 +0700
committergnhb <gnoahb@gmail.com>2010-06-03 23:27:38 +0700
commit8adc1e49ad7fd92b97fde6997d60a1b3bcd9128c (patch)
tree8f6a7f887fe516fee349ceba0a539d68f1bd20f7 /etc
parentc5232cbbb986a834d4546cff38f38179b151441e (diff)
downloadpfsense-8adc1e49ad7fd92b97fde6997d60a1b3bcd9128c.zip
pfsense-8adc1e49ad7fd92b97fde6997d60a1b3bcd9128c.tar.gz
Set default values to what we've had in the past.
`
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e3f5f0c..700edbe 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1000,8 +1000,11 @@ EOD;
EOD;
if (isset($ppp['tcpmssfix']))
+ $tcpmss = "disable";
+ else
+ $tcpmss = "enable";
$mpdconf .= <<<EOD
- set iface enable tcpmssfix
+ set iface {$tcpmss} tcpmssfix
EOD;
@@ -1073,7 +1076,8 @@ EOD;
EOD;
- if (!empty($mtus[$pid]))
+ if (empty($mtus[$pid]))
+ $mtus[$pid] = "1492";
$mpdconf .= <<<EOD
set link mtu {$mtus[$pid]}
OpenPOWER on IntegriCloud