diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-04-13 22:04:30 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-04-13 22:04:30 -0400 |
commit | 3c07ce5e1fc16bbfb5f78411c403b919997bbb7a (patch) | |
tree | b6b09ce54651e537a501055cc05c2d038d55d264 /usr/local/www/system_gateways_edit.php | |
parent | b5376d0e62eb91473a73f357e901c95eacd6ab2a (diff) | |
download | pfsense-3c07ce5e1fc16bbfb5f78411c403b919997bbb7a.zip pfsense-3c07ce5e1fc16bbfb5f78411c403b919997bbb7a.tar.gz |
allow a diff ip address for gateway monitor
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 9863be0..0683ef8 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -134,7 +134,8 @@ if ($_POST) { $gateway['name'] = $_POST['name']; $gateway['gateway'] = $_POST['gateway']; $gateway['descr'] = $_POST['descr']; - + $gateway['monitor'] = $_POST['monitor']; + if ($_POST['defaultgw'] == "yes") { $i = 0; foreach($a_gateways as $gw) { |