diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 87d1047..7d98556 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -650,7 +650,7 @@ if ($_POST['apply']) { /* check for duplicates */ $skip = false; foreach($a_gateways as $item) { - if(($item['interface'] == "$if") && ($item['gateway'] == "dynamic")) { + if(($item['interface'] == "$if") && (preg_match("/dynamic/", $item['gateway']))) { $skip = true; } } |