]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Enabled MTU field on all PPPx connections.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 8 Dec 2010 17:53:34 +0000 (18:53 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 8 Dec 2010 17:53:34 +0000 (18:53 +0100)
Add MRU field.

config/rootfiles/core/44/filelists/files
html/cgi-bin/pppsetup.cgi
src/initscripts/init.d/networking/red

index c069ea0f4a5288c6c6b388548184bad068239118..de75056e412294f0e61b2bdaaf4768188c08fbbc 100644 (file)
@@ -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
index fc28e70bba13537e06ed55d57b3fe06a2f69b3f8..0bfeabd1b21de84db6dfaf8a5b883fe61bbf7593 100644 (file)
@@ -773,14 +773,26 @@ print <<END
         <td colspan='2' width='50%'></td>
         <td width='25%'><input type='text' name='CONCENTRATORNAME' value='$pppsettings{'CONCENTRATORNAME'}' /></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 colspan='2' width='50%'></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>
index 1940169f4e686be00d6a2c52060285a01812414d..f29884b941d22ab6db899dc5f8a624b1533d507d 100644 (file)
@@ -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}"