mirror of
https://github.com/unraid/webgui.git
synced 2026-05-06 20:30:50 -05:00
wireguard update: add explanation about parsing
This commit is contained in:
@@ -226,6 +226,8 @@ function createIPs($list) {
|
||||
return implode(', ',array_map('host',array_filter(array_map('trim',explode(',',$list)))));
|
||||
}
|
||||
function parseInput($vtun,&$input,&$x) {
|
||||
// assign values to parameters, be aware that certain parameters are assigned by parseInput itself
|
||||
// this is based on the sequence of processing
|
||||
global $conf,$user,$var,$default4,$default6,$vpn,$tunip;
|
||||
$section = 0; $addPeer = false;
|
||||
foreach ($input as $key => $value) {
|
||||
|
||||
Reference in New Issue
Block a user