Project

General

Profile

« Previous | Next » 

Revision 9a3b9aa0

Added by Scott Ullrich over 18 years ago

Check for p2pcatchall with isset()

View differences:

etc/inc/config.inc
1582 1582
				}
1583 1583
			}
1584 1584
			if(isset($config['shaper']['enable'])) {
1585
				if($config['ezshaper']['step5']['p2pcatchall']) {
1585
				if(isset($config['ezshaper']['step5']['p2pcatchall'])) {
1586 1586
					$shaper_queue = "-q qP2PDown ";
1587 1587
				} else { 
1588 1588
					$downq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['inside_int']);
etc/inc/filter.inc
935 935
                                                 *   and thus pf is not fully running.   otherwise we end up with: pftpx: pf is disabled
936 936
                                                 */
937 937
						if(isset($config['shaper']['enable'])) {
938
							if($config['ezshaper']['step5']['p2pcatchall'])  {
938
							if(isset($config['ezshaper']['step5']['p2pcatchall']))  {
939 939
								$shaper_queue = "-q qP2PUp ";
940 940
							} else {
941 941
								$upq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['outside_int']);

Also available in: Unified diff