allow a diff ip address for gateway monitor

This commit is contained in:
Scott Ullrich 2009-04-13 22:04:30 -04:00
parent b5376d0e62
commit 3c07ce5e1f

View File

@ -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) {