mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +02:00
Enabled MTU field on all PPPx connections.
Add MRU field.
This commit is contained in:
@@ -4,6 +4,7 @@ etc/rc.d/init.d/checkfstab
|
||||
etc/rc.d/init.d/firewall
|
||||
etc/rc.d/init.d/squid
|
||||
etc/rc.d/init.d/networking/dhcpcd.exe
|
||||
etc/rc.d/init.d/networking/red
|
||||
srv/web/ipfire/cgi-bin/extrahd.cgi
|
||||
srv/web/ipfire/cgi-bin/index.cgi
|
||||
srv/web/ipfire/cgi-bin/pakfire.cgi
|
||||
@@ -11,6 +12,7 @@ srv/web/ipfire/cgi-bin/proxy.cgi
|
||||
srv/web/ipfire/cgi-bin/speed.cgi
|
||||
srv/web/ipfire/cgi-bin/vpnmain.cgi
|
||||
srv/web/ipfire/cgi-bin/ids.cgi
|
||||
srv/web/ipfire/cgi-bin/pppsetup.cgi
|
||||
srv/web/ipfire/html/images/urlfilter/copy.gif
|
||||
var/ipfire/general-functions.pl
|
||||
var/ipfire/graphs.pl
|
||||
|
||||
@@ -773,15 +773,27 @@ print <<END
|
||||
<td colspan='2' width='50%'></td>
|
||||
<td width='25%'><input type='text' name='CONCENTRATORNAME' value='$pppsettings{'CONCENTRATORNAME'}' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='25%'>MTU</td>
|
||||
<td colspan='2' width='50%'></td>
|
||||
<td width='25%'><input type='text' name='MTU' value='$pppsettings{'MTU'}' /></td>
|
||||
</tr>
|
||||
END
|
||||
;
|
||||
}
|
||||
|
||||
print <<END
|
||||
<tr><td colspan='4' width='100%'><br></br></td></tr>
|
||||
<tr>
|
||||
<td bgcolor='$color{'color20'}' colspan='4' width='100%'><b>MTU/MRU</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td width='25%'>MTU</td>
|
||||
<td width='25%'><input type='text' name='MTU' value='$pppsettings{'MTU'}' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='25%'>MRU</td>
|
||||
<td width='25%'><input type='text' name='MRU' value='$pppsettings{'MRU'}' /></td>
|
||||
</tr>
|
||||
END
|
||||
;
|
||||
|
||||
print <<END
|
||||
<tr><td colspan='4' width='100%'><br></br></td></tr>
|
||||
<tr>
|
||||
|
||||
@@ -453,7 +453,7 @@ case "${1}" in
|
||||
#
|
||||
PPP_STD_OPTIONS="$PLUGOPTS $DNS defaultroute noipdefault noauth"
|
||||
PPP_STD_OPTIONS+=" default-asyncmap hide-password nodetach mtu ${MTU}"
|
||||
PPP_STD_OPTIONS+=" mru ${MTU} noaccomp nodeflate nopcomp novj novjccomp"
|
||||
PPP_STD_OPTIONS+=" mru ${MRU} noaccomp nodeflate nopcomp novj novjccomp"
|
||||
PPP_STD_OPTIONS+=" nobsdcomp user ${USERNAME} lcp-echo-interval 20"
|
||||
PPP_STD_OPTIONS+=" lcp-echo-failure 3 ${AUTH}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user