From cfdce2add91f7fbf17094f4b636e6d5488cc4094 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 16 Apr 2010 19:08:32 +0000 Subject: Ticket #508. Make TFTP proxy configurable by System Advanced->Firewall/NAT for several interfaces. --- usr/local/www/system_advanced_firewall.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'usr/local') diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index 06e2ff5..7a3cd93 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -121,6 +121,11 @@ if ($_POST) { else unset($config['system']['disablescrub']); + if ($_POST['tftpinterface']) + $config['system']['tftpinterface'] = implode(",", $_POST['tftpinterface']); + else + unset($config['system']['tftpinterface']); + write_config(); /* @@ -306,6 +311,20 @@ function update_description(itemnum) { + TFTP Proxy + + + Choose the interfaces where you want TFTP proxy help to be enabled. + + +   -- cgit v1.1