diff options
author | gnhb <gnoahb@gmail.com> | 2010-06-03 23:27:38 +0700 |
---|---|---|
committer | gnhb <gnoahb@gmail.com> | 2010-06-03 23:27:38 +0700 |
commit | 8adc1e49ad7fd92b97fde6997d60a1b3bcd9128c (patch) | |
tree | 8f6a7f887fe516fee349ceba0a539d68f1bd20f7 /etc | |
parent | c5232cbbb986a834d4546cff38f38179b151441e (diff) | |
download | pfsense-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.inc | 8 |
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]} |