Project

General

Profile

« Previous | Next » 

Revision 0bfd0f79

Added by Erik Fonnesbeck almost 15 years ago

Enforce the interface selection on associated filter rules. Ticket #780

View differences:

usr/local/www/firewall_rules_edit.php
517 517

  
518 518
		// If we have an associated nat rule, make sure the source and destination doesn't change
519 519
		if( isset($a_filter[$id]['associated-rule-id']) ) {
520
			$filterent['interface'] = $a_filter[$id]['interface'];
520 521
			$filterent['source'] = $a_filter[$id]['source'];
521 522
			$filterent['destination'] = $a_filter[$id]['destination'];
522 523
			$filterent['associated-rule-id'] = $a_filter[$id]['associated-rule-id'];

Also available in: Unified diff