Project

General

Profile

« Previous | Next » 

Revision d5b1a279

Added by Ermal Luçi over 10 years ago

Ticket #4445 do not write config and remove its cache when applying settings its just behaviour from dinosaur era and should have been cleanded long time ago.

View differences:

usr/local/www/firewall_nat.php
63 63

  
64 64
	if ($_POST['apply']) {
65 65

  
66
		write_config();
67

  
68 66
		$retval = 0;
69 67

  
70
		unlink_if_exists("/tmp/config.cache");
71 68
		$retval |= filter_configure();
72 69
		$savemsg = get_std_save_message($retval);
73 70

  
usr/local/www/firewall_nat_out.php
64 64
$mode = $config['nat']['outbound']['mode'];
65 65

  
66 66
if ($_POST['apply']) {
67
	write_config();
68

  
69 67
	$retval = 0;
70 68
	$retval |= filter_configure();
71 69

  

Also available in: Unified diff