SOURCES: firestarter-script.patch - typo (s/TOS_SERVER/TOS_X/)

charles charles at pld-linux.org
Tue Dec 5 00:34:29 CET 2006


Author: charles                      Date: Mon Dec  4 23:34:29 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- typo (s/TOS_SERVER/TOS_X/)

---- Files affected:
SOURCES:
   firestarter-script.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/firestarter-script.patch
diff -u SOURCES/firestarter-script.patch:1.2 SOURCES/firestarter-script.patch:1.3
--- SOURCES/firestarter-script.patch:1.2	Fri May  6 18:55:02 2005
+++ SOURCES/firestarter-script.patch	Tue Dec  5 00:34:23 2006
@@ -9,6 +9,15 @@
  			 "	$MPB bsd_comp 2> /dev/null\n"
  			 "	$MPB ppp_deflate 2> /dev/null\n"
  			 "fi\n\n");
+@@ -586,7 +586,7 @@
+ 			 "		$IPT -t mangle -A OUTPUT -p tcp -j TOS --dport 8080 --set-tos $TOSOPT\n"
+ 			 "	fi\n");
+ 
+-	fprintf (script, "	if [ \"$TOS_SERVER\" = \"on\" -a $mangle_supported ]; then\n"
++	fprintf (script, "	if [ \"$TOS_X\" = \"on\" -a $mangle_supported ]; then\n"
+ 			 "		# ToS: The X Window System\n"
+ 			 "		$IPT -t mangle -A OUTPUT -p tcp -j TOS --dport 22 --set-tos 0x10\n"
+ 			 "		$IPT -t mangle -A OUTPUT -p tcp -j TOS --dport 6000:6015 --set-tos 0x08\n"
 @@ -768,6 +768,9 @@
  	                 "if [ \"$NAT\" = \"on\" ]; then\n"
  	                 "	$IPT -A INPUT -i $INIF -d $INIP -j INBOUND # Check LAN to firewall (private ip) traffic\n"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/firestarter-script.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list