summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-08-29 09:14:34 +0200
committerSeth Mos <seth.mos@dds.nl>2011-08-29 09:14:34 +0200
commit181816f19087b46c16753b971b5acffe82c39b90 (patch)
tree33e93435a09440498a525971cc980cf3688e0257 /usr/local/www/interfaces.php
parent791d3ac98b29f79d2586dd94c91bb4e877ed0b08 (diff)
downloadpfsense-181816f19087b46c16753b971b5acffe82c39b90.zip
pfsense-181816f19087b46c16753b971b5acffe82c39b90.tar.gz
Reflect the dynamic(6) gateway naming change in interfaces.php too
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php2
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;
}
}
OpenPOWER on IntegriCloud