diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-02-19 08:24:57 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-02-19 08:24:57 -0700 |
commit | 5e2ca757a9a1c8d636e7a179711f50de0519b4b3 (patch) | |
tree | 9b1d4443e8a9a41025601368e59016f602b63342 /usr/local/www | |
parent | 2a48a8853383bceafd25eb745900d15f184a9e12 (diff) | |
download | pfsense-5e2ca757a9a1c8d636e7a179711f50de0519b4b3.zip pfsense-5e2ca757a9a1c8d636e7a179711f50de0519b4b3.tar.gz |
Don't allow changing the parent interface until this code supports deleting the old clone.
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/interfaces_wireless_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_wireless_edit.php b/usr/local/www/interfaces_wireless_edit.php index 58fa0c4..2c3208a 100644 --- a/usr/local/www/interfaces_wireless_edit.php +++ b/usr/local/www/interfaces_wireless_edit.php @@ -116,7 +116,8 @@ if ($_POST) { $input_errors[] = "This wireless clone cannot be modified because it is still being used as an interface."; else if ($clone['mode'] != $a_clones[$id]['mode']) $input_errors[] = "Use the configuration page for the assigned interface to change the mode."; - } + } else if ($clone['if'] != $a_clones[$id]['if']) + $input_errors[] = "Changing the parent interface is not currently supported. Create a new clone on the new parent and delete the old clone on the previous parent."; } if (!$input_errors) { if (!interface_wireless_clone($clone['cloneif'], $clone)) { |