diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-08-29 09:14:34 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-08-29 09:14:34 +0200 |
commit | 181816f19087b46c16753b971b5acffe82c39b90 (patch) | |
tree | 33e93435a09440498a525971cc980cf3688e0257 | |
parent | 791d3ac98b29f79d2586dd94c91bb4e877ed0b08 (diff) | |
download | pfsense-181816f19087b46c16753b971b5acffe82c39b90.zip pfsense-181816f19087b46c16753b971b5acffe82c39b90.tar.gz |
Reflect the dynamic(6) gateway naming change in interfaces.php too
-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; } } |