diff options
Diffstat (limited to 'usr/local/www/interfaces_wan.php')
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index 3c706a4..b80fa57 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.php @@ -92,7 +92,7 @@ if ($_POST) { unset($input_errors); $pconfig = $_POST; - if($_POST['gateway']) { + if($_POST['gateway'] and $pconfig['gateway'] <> $_POST['gateway']) { /* enumerate slbd gateways and make sure we are not creating a route loop */ if(is_array($config['load_balancer']['lbpool'])) { foreach($config['load_balancer']['lbpool'] as $lbpool) { |