Project

General

Profile

« Previous | Next » 

Revision 8a915911

Added by Renato Botelho over 8 years ago

Ticket #6472: Respect disabled field

Respect disabled field when creating firewall associated rule

View differences:

src/usr/local/www/firewall_nat_edit.php
455 455
			$filterent['protocol'] = $_POST['proto'];
456 456
			$filterent['destination']['address'] = $_POST['localip'];
457 457

  
458
			if (isset($_POST['disabled'])) {
459
				$filterent['disabled'] = true;
460
			}
461

  
458 462
			$dstpfrom = $_POST['localbeginport'];
459 463
			$dstpto = $dstpfrom + $_POST['dstendport'] - $_POST['dstbeginport'];
460 464

  

Also available in: Unified diff