mirror of
https://github.com/unraid/webgui.git
synced 2026-02-09 10:29:09 -06:00
Merge pull request #1076 from bergware/master
Wireguard: fix issue of setting incorrect network type
This commit is contained in:
@@ -488,7 +488,7 @@ function prepareSettings(form,vtun) {
|
||||
postdown.val(postdown1.bind(vtun));
|
||||
break;
|
||||
}
|
||||
$('div[id^="index-wg0-"]').each(function(){
|
||||
$('div[id^="index-'+vtun+'-"]').each(function(){
|
||||
var temp = $(this).find('select[name^="TYPE:"]').val();
|
||||
if (temp >= 7) form.find('input[name="#type"]').val(temp);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user