Revision 181816f1
Added by Seth Mos almost 14 years ago
usr/local/www/interfaces.php | ||
---|---|---|
650 | 650 |
/* check for duplicates */ |
651 | 651 |
$skip = false; |
652 | 652 |
foreach($a_gateways as $item) { |
653 |
if(($item['interface'] == "$if") && ($item['gateway'] == "dynamic")) {
|
|
653 |
if(($item['interface'] == "$if") && (preg_match("/dynamic/", $item['gateway']))) {
|
|
654 | 654 |
$skip = true; |
655 | 655 |
} |
656 | 656 |
} |
Also available in: Unified diff
Reflect the dynamic(6) gateway naming change in interfaces.php too