From 3c07ce5e1fc16bbfb5f78411c403b919997bbb7a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 13 Apr 2009 22:04:30 -0400 Subject: [PATCH] allow a diff ip address for gateway monitor --- usr/local/www/system_gateways_edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 9863be0501..0683ef8587 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) {